Skip to content
This repository was archived by the owner on May 6, 2022. It is now read-only.

Commit bd8d08a

Browse files
committed
fix(Card): Allow boolean for Card children
1 parent efdc5aa commit bd8d08a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/CardProps.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export enum CardType {
44
}
55

66
export default interface IconProps {
7-
readonly children?: JSX.Element[] | JSX.Element | string;
7+
readonly children?: JSX.Element[] | JSX.Element | string | boolean[] | boolean;
88
readonly type?: CardType;
99
readonly onClick?: () => void;
1010
}

0 commit comments

Comments
 (0)