We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de64434 commit de70d5fCopy full SHA for de70d5f
packages/@react-types/layout/src/flex.d.ts
@@ -11,11 +11,11 @@
11
*/
12
13
import {DOMProps, FlexStyleProps} from '@react-types/shared';
14
-import {ReactElement} from 'react';
+import {ReactNode} from 'react';
15
16
export type Slots = {[key: string]: any};
17
18
export interface FlexProps extends DOMProps, FlexStyleProps {
19
/** Children of the flex container. */
20
- children: ReactElement | ReactElement[]
+ children: ReactNode
21
}
0 commit comments