# Type alias Factory<P>

Factory<P>: ((props?, ...children) => ReactElement<P>)

#### Type Parameters

- P

#### Type declaration

- - (props?, ...children): ReactElement<P>

  - #### Parameters

    - `Optional` props: Attributes & P
    - `Rest` ...children: ReactNode[]

    #### Returns ReactElement<P>

- Defined in common/temp/node_modules/.pnpm/@types+react@18.3.3/node_modules/@types/react/index.d.ts:385