# Function createFactory

- createFactory<T>(type): HTMLFactory<T>

- #### Type Parameters

  - T extends HTMLElement

  #### Parameters

  - type: keyof ReactHTML

  #### Returns HTMLFactory<T>

  #### Deprecated

  - Defined in common/temp/node_modules/.pnpm/@types+react@18.3.3/node_modules/@types/react/index.d.ts:497
- createFactory(type): SVGFactory

- #### Parameters

  - type: keyof ReactSVG

  #### Returns SVGFactory

  #### Deprecated

  - Defined in common/temp/node_modules/.pnpm/@types+react@18.3.3/node_modules/@types/react/index.d.ts:501
- createFactory<P, T>(type): DOMFactory<P, T>

- #### Type Parameters

  - P extends DOMAttributes<T>
  - T extends Element

  #### Parameters

  - type: string

  #### Returns DOMFactory<P, T>

  #### Deprecated

  - Defined in common/temp/node_modules/.pnpm/@types+react@18.3.3/node_modules/@types/react/index.d.ts:505
- createFactory<P>(type): FunctionComponentFactory<P>

- #### Type Parameters

  - P

  #### Parameters

  - type: FunctionComponent<P>

  #### Returns FunctionComponentFactory<P>

  #### Deprecated

  - Defined in common/temp/node_modules/.pnpm/@types+react@18.3.3/node_modules/@types/react/index.d.ts:511
- createFactory<P, T, C>(type): CFactory<P, T>

- #### Type Parameters

  - P
  - T extends Component<P, any, any>
  - C extends ComponentClass<P, any>

  #### Parameters

  - type: ClassType<P, T, C>

  #### Returns CFactory<P, T>

  #### Deprecated

  - Defined in common/temp/node_modules/.pnpm/@types+react@18.3.3/node_modules/@types/react/index.d.ts:513
- createFactory<P>(type): Factory<P>

- #### Type Parameters

  - P

  #### Parameters

  - type: ComponentClass<P, any>

  #### Returns Factory<P>

  #### Deprecated

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