# Function createElement

- createElement(type, props?, ...children): DetailedReactHTMLElement<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>

- #### Parameters

  - type: "input"
  - `Optional` props: InputHTMLAttributes<HTMLInputElement> & ClassAttributes<HTMLInputElement>
  - `Rest` ...children: ReactNode[]

  #### Returns DetailedReactHTMLElement<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>

  - Defined in common/temp/node_modules/.pnpm/@types+react@18.3.3/node_modules/@types/react/index.d.ts:521
- createElement<P, T>(type, props?, ...children): DetailedReactHTMLElement<P, T>

- #### Type Parameters

  - P extends HTMLAttributes<T>
  - T extends HTMLElement

  #### Parameters

  - type: keyof ReactHTML
  - `Optional` props: ClassAttributes<T> & P
  - `Rest` ...children: ReactNode[]

  #### Returns DetailedReactHTMLElement<P, T>

  - Defined in common/temp/node_modules/.pnpm/@types+react@18.3.3/node_modules/@types/react/index.d.ts:526
- createElement<P, T>(type, props?, ...children): ReactSVGElement

- #### Type Parameters

  - P extends SVGAttributes<T>
  - T extends SVGElement

  #### Parameters

  - type: keyof ReactSVG
  - `Optional` props: ClassAttributes<T> & P
  - `Rest` ...children: ReactNode[]

  #### Returns ReactSVGElement

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

- #### Type Parameters

  - P extends DOMAttributes<T>
  - T extends Element

  #### Parameters

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

  #### Returns DOMElement<P, T>

  - Defined in common/temp/node_modules/.pnpm/@types+react@18.3.3/node_modules/@types/react/index.d.ts:536
- createElement<P>(type, props?, ...children): FunctionComponentElement<P>

- #### Type Parameters

  - P extends {}

  #### Parameters

  - type: FunctionComponent<P>
  - `Optional` props: Attributes & P
  - `Rest` ...children: ReactNode[]

  #### Returns FunctionComponentElement<P>

  - Defined in common/temp/node_modules/.pnpm/@types+react@18.3.3/node_modules/@types/react/index.d.ts:544
- createElement<P, T, C>(type, props?, ...children): CElement<P, T>

- #### Type Parameters

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

  #### Parameters

  - type: ClassType<P, T, C>
  - `Optional` props: ClassAttributes<T> & P
  - `Rest` ...children: ReactNode[]

  #### Returns CElement<P, T>

  - Defined in common/temp/node_modules/.pnpm/@types+react@18.3.3/node_modules/@types/react/index.d.ts:549
- createElement<P>(type, props?, ...children): ReactElement<P>

- #### Type Parameters

  - P extends {}

  #### Parameters

  - type: string | FunctionComponent<P> | ComponentClass<P, any>
  - `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:554