diff --git a/src/components/Card.js b/src/components/Card.tsx similarity index 76% rename from src/components/Card.js rename to src/components/Card.tsx index b43698cc8c0..ed3336950e4 100644 --- a/src/components/Card.js +++ b/src/components/Card.tsx @@ -17,7 +17,20 @@ const Description = styled.p` const TopContent = styled.div`` -const Card = ({ emoji, title, description, children, className }) => ( +export interface IProps { + emoji?: string + title: string + description: string + className?: string +} + +const Card: React.FC = ({ + emoji, + title, + description, + children, + className, +}) => ( {emoji && }