Skip to content

Commit 9077d62

Browse files
author
damianbartumeu
committed
fix(Flex): Fix react element type definition
1 parent 49fc116 commit 9077d62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/Flex.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export type Width = string | number;
1515
export type Height = string | number;
1616

1717
export interface FlexProps {
18-
children: React.Element<any>;
18+
children: React.ElementType<any>;
1919
className?: string;
2020
inline?: boolean | { [key: string]: boolean };
2121
direction?: string | { [key: string]: string };

0 commit comments

Comments
 (0)