Skip to content

Commit

Permalink
Merge pull request #40 from ldanet/fix/typing-style-prop
Browse files Browse the repository at this point in the history
Fix typing of style props
  • Loading branch information
ummahusla authored Oct 28, 2019
2 parents 430e257 + 906c451 commit 06bd309
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/components/Card/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export type CardProps = {
children: React.ReactNode;
bgColor?: string;
fontColor?: string;
style?: any;
style?: React.CSSProperties;
className?: string;
};

Expand Down
2 changes: 1 addition & 1 deletion src/components/CardBody/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import './styles.scss';

export type CardBodyProps = {
children: React.ReactNode;
style?: any;
style?: React.CSSProperties;
className?: string;
};

Expand Down
2 changes: 1 addition & 1 deletion src/components/CardFooter/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import './styles.scss';

export type CardFooterProps = {
children: React.ReactNode;
style?: any;
style?: React.CSSProperties;
className?: string;
};

Expand Down
2 changes: 1 addition & 1 deletion src/components/CardHeader/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import './styles.scss';

export type CardHeaderProps = {
children: React.ReactNode;
style?: any;
style?: React.CSSProperties;
className?: string;
};

Expand Down
2 changes: 1 addition & 1 deletion src/components/ImageHeader/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import './styles.scss';
export type ImageHeaderProps = {
imageSrc: string;
alt?: string;
style?: any;
style?: React.CSSProperties;
className?: string;
};

Expand Down

0 comments on commit 06bd309

Please sign in to comment.