diff --git a/src/components/Card/index.tsx b/src/components/Card/index.tsx index c035b04..9adceb1 100644 --- a/src/components/Card/index.tsx +++ b/src/components/Card/index.tsx @@ -7,7 +7,7 @@ export type CardProps = { children: React.ReactNode; bgColor?: string; fontColor?: string; - style?: any; + style?: React.CSSProperties; className?: string; }; diff --git a/src/components/CardBody/index.tsx b/src/components/CardBody/index.tsx index 85b40c6..537a6d0 100644 --- a/src/components/CardBody/index.tsx +++ b/src/components/CardBody/index.tsx @@ -5,7 +5,7 @@ import './styles.scss'; export type CardBodyProps = { children: React.ReactNode; - style?: any; + style?: React.CSSProperties; className?: string; }; diff --git a/src/components/CardFooter/index.tsx b/src/components/CardFooter/index.tsx index 4488c5a..476457c 100644 --- a/src/components/CardFooter/index.tsx +++ b/src/components/CardFooter/index.tsx @@ -5,7 +5,7 @@ import './styles.scss'; export type CardFooterProps = { children: React.ReactNode; - style?: any; + style?: React.CSSProperties; className?: string; }; diff --git a/src/components/CardHeader/index.tsx b/src/components/CardHeader/index.tsx index 5a10866..567428d 100644 --- a/src/components/CardHeader/index.tsx +++ b/src/components/CardHeader/index.tsx @@ -5,7 +5,7 @@ import './styles.scss'; export type CardHeaderProps = { children: React.ReactNode; - style?: any; + style?: React.CSSProperties; className?: string; }; diff --git a/src/components/ImageHeader/index.tsx b/src/components/ImageHeader/index.tsx index fcae40e..460a491 100644 --- a/src/components/ImageHeader/index.tsx +++ b/src/components/ImageHeader/index.tsx @@ -6,7 +6,7 @@ import './styles.scss'; export type ImageHeaderProps = { imageSrc: string; alt?: string; - style?: any; + style?: React.CSSProperties; className?: string; };