Components
flex
Code

Flex

Flex(props): null | ReactElement<any, string | JSXElementConstructor<any>>

NOTE: Exotic components are not callable.

Parameters

NameType
propsOmit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & FlexShorthandProps & RefAttributes<HTMLDivElement>

Returns

null | ReactElement<any, string | JSXElementConstructor<any>>

Defined in

node_modules/.pnpm/@types+react@18.2.14/node_modules/@types/react/ts5.0/index.d.ts:355