Skip to content

Commit 1c669ec

Browse files
fix(Card): fix conflicts from dev
1 parent 93990ff commit 1c669ec

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/components/Card/index.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import React, { ReactNode } from "react"
2-
import { Flex, Heading, Text } from "@chakra-ui/react"
2+
import { ChakraProps, Flex, Heading, Text } from "@chakra-ui/react"
33
import Emoji from "../Emoji"
44

5-
export interface IProps {
5+
export interface IProps extends ChakraProps {
66
children?: React.ReactNode
77
emoji?: string
88
title?: ReactNode
@@ -16,6 +16,7 @@ const Card: React.FC<IProps> = ({
1616
description,
1717
children,
1818
className,
19+
...props
1920
}) => (
2021
<Flex
2122
direction="column"
@@ -28,6 +29,7 @@ const Card: React.FC<IProps> = ({
2829
borderColor="lightBorder"
2930
p={6}
3031
className={className}
32+
{...props}
3133
>
3234
<div>
3335
{emoji && <Emoji fontSize="5xl" text={emoji} mb={4} />}

0 commit comments

Comments
 (0)