> For AI agents: the complete documentation index is available at /next/llms.txt, the full documentation bundle is available at /next/llms-full.txt.

# Interface: CreateElement()

The call signature of ReactLynx `createElement`.

## Call Signature

> **CreateElement**\<`Type` _extends_ keyof `IntrinsicElements`>(`type`: `Type`, `props?`: `IntrinsicElements`\[`Type`] | `null`, ...`children`: `ReactNode`\[]): `ReactElement`\<`IntrinsicElements`\[`Type`], `Type`>

Creates an element for a Lynx intrinsic element.

### Type Parameters

| Type Parameter                             |
| ------------------------------------------ |
| `Type` _extends_ keyof `IntrinsicElements` |

### Parameters

| Parameter      | Type                                   |
| -------------- | -------------------------------------- |
| `type`         | `Type`                                 |
| `props?`       | `IntrinsicElements`\[`Type`] \| `null` |
| ...`children?` | `ReactNode`\[]                         |

### Returns

`ReactElement`\<`IntrinsicElements`\[`Type`], `Type`>

## Call Signature

> **CreateElement**\<`Props` _extends_ `object`>(`type`: `string` | `ComponentType`\<`Props`>, `props?`: `Attributes` & `Props` | `null`, ...`children`: `ReactNode`\[]): `ReactElement`\<`Props`>

Creates an element for a component.

### Type Parameters

| Type Parameter             |
| -------------------------- |
| `Props` _extends_ `object` |

### Parameters

| Parameter      | Type                                  |
| -------------- | ------------------------------------- |
| `type`         | `string` \| `ComponentType`\<`Props`> |
| `props?`       | `Attributes` & `Props` \| `null`      |
| ...`children?` | `ReactNode`\[]                        |

### Returns

`ReactElement`\<`Props`>
