Interface ReactPortal

Represents a JSX element.

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

Example

const element: ReactElement = <div />;

Hierarchy

Properties

Properties

children: ReactNode
key: null | string
props: any
type: string | JSXElementConstructor<any>

Generated using TypeDoc