diff --git a/src/components/Card.tsx b/src/components/Card.tsx index 9981d40..053cbae 100644 --- a/src/components/Card.tsx +++ b/src/components/Card.tsx @@ -3,9 +3,12 @@ import type { Theme } from "@themes/Theme"; import { cardVariants } from "@themes/Variants"; import Box from "./bases/Box"; -const Card = createRestyleComponent & BoxProps, Theme>( - [cardVariants], - Box, -); +const Card = createRestyleComponent< + VariantProps & + BoxProps & { + children: React.ReactNode; + }, + Theme +>([cardVariants], Box); export default Card;