We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c23b6ac commit d91682aCopy full SHA for d91682a
src/components/HorizontalCard.tsx
@@ -13,15 +13,19 @@ export interface IProps {
13
14
const HorizontalCard: React.FC<IProps> = ({
15
emoji,
16
+ title,
17
+ description,
18
children,
19
className,
20
emojiSize,
21
}) => (
22
<Flex borderRadius="base" className={className}>
23
<Emoji fontSize={`${emojiSize}rem`} text={emoji} />
24
<Flex grow="0" shrink="1" basis="75%" ml="8">
- <Text fontSize="lg" />
- <Text opacity="0.8" mt="-4" mb="2" />
25
+ <Text fontSize="lg">{title}</Text>
26
+ <Text opacity="0.8" mt="-4" mb="2">
27
+ {description}
28
+ </Text>
29
{children}
30
</Flex>
31
0 commit comments