# Interface HTMLFactory<T>

interface HTMLFactory<T> {
(props?, ...children): DetailedReactHTMLElement<AllHTMLAttributes<T>, T>;
(props?, ...children): DOMElement<AllHTMLAttributes<T>, T>;
}

#### Type Parameters

- T extends HTMLElement

#### Hierarchy (view full)

- DetailedHTMLFactory<AllHTMLAttributes<T>, T>
  - HTMLFactory

- HTMLFactory(props?, ...children): DetailedReactHTMLElement<AllHTMLAttributes<T>, T>

- #### Parameters

  - `Optional` props: ClassAttributes<T> & AllHTMLAttributes<T>
  - `Rest` ...children: ReactNode[]

  #### Returns DetailedReactHTMLElement<AllHTMLAttributes<T>, T>

  - Defined in common/temp/node_modules/.pnpm/@types+react@18.3.3/node_modules/@types/react/index.d.ts:410
- HTMLFactory(props?, ...children): DOMElement<AllHTMLAttributes<T>, T>

- #### Parameters

  - `Optional` props: ClassAttributes<T> & AllHTMLAttributes<T>
  - `Rest` ...children: ReactNode[]

  #### Returns DOMElement<AllHTMLAttributes<T>, T>

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