# ReactElement

Defined in: node\_modules/@types/react/index.d.ts:325

Represents a JSX element.

Where [ReactNode](/api/nitida/sdk/react/-internal-/type-aliases/reactnode/) represents everything that can be rendered, `ReactElement`
only represents JSX.

## Example

```tsx
const element: ReactElement = <div />;
```

## Extended by

- [`ReactPortal`](/api/nitida/sdk/react/-internal-/interfaces/reactportal/)

## Type Parameters

| Type Parameter | Default type | Description |
| ------ | ------ | ------ |
| `P` | `unknown` | The type of the props object |
| `T` *extends* \| `string` \| [`JSXElementConstructor`](/api/nitida/sdk/react/-internal-/type-aliases/jsxelementconstructor/)\<`any`\> | \| `string` \| [`JSXElementConstructor`](/api/nitida/sdk/react/-internal-/type-aliases/jsxelementconstructor/)\<`any`\> | The type of the component or tag |

## Properties

### key

```ts
key: string | null;
```

Defined in: node\_modules/@types/react/index.d.ts:331

***

### props

```ts
props: P;
```

Defined in: node\_modules/@types/react/index.d.ts:330

***

### type

```ts
type: T;
```

Defined in: node\_modules/@types/react/index.d.ts:329