# Interface ReactPortal

Represents a JSX element.

Where ReactNode represents everything that can be rendered, `ReactElement` only represents JSX.

#### Example

    const element: ReactElement = <div />;

interface ReactPortal {
children: ReactNode;
key: string;
props: any;
type: string | JSXElementConstructor<any>;
}

#### Hierarchy (view full)

- ReactElement
  - ReactPortal

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

#####
Index

### Properties

children
key
props
type

## Properties

### children

children: ReactNode

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

### key

key: string

Inherited from ReactElement.key

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

### props

props: any

Inherited from ReactElement.props

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

### type

type: string | JSXElementConstructor<any>

Inherited from ReactElement.type

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