Skip to content

Commit d91682a

Browse files
committed
done some required changes
1 parent c23b6ac commit d91682a

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/components/HorizontalCard.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,19 @@ export interface IProps {
1313

1414
const HorizontalCard: React.FC<IProps> = ({
1515
emoji,
16+
title,
17+
description,
1618
children,
1719
className,
1820
emojiSize,
1921
}) => (
2022
<Flex borderRadius="base" className={className}>
2123
<Emoji fontSize={`${emojiSize}rem`} text={emoji} />
2224
<Flex grow="0" shrink="1" basis="75%" ml="8">
23-
<Text fontSize="lg" />
24-
<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>
2529
{children}
2630
</Flex>
2731
</Flex>

0 commit comments

Comments
 (0)