# Interface DetailedReactHTMLElement<P, T>

Represents a JSX element.

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

#### Example

    const element: ReactElement = <div />;

interface DetailedReactHTMLElement<P, T> {
key: string;
props: P;
ref: LegacyRef<T>;
type: keyof ReactHTML;
}

#### Type Parameters

- P extends HTMLAttributes<T>

  The type of the props object

- T extends HTMLElement

  The type of the component or tag

#### Hierarchy (view full)

- DOMElement<P, T>
  - DetailedReactHTMLElement
    - ReactHTMLElement

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

#####
Index

### Properties

key
props
ref
type

## Properties

### key

key: string

Inherited from DOMElement.key

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

### props

props: P

Inherited from DOMElement.props

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

### ref

ref: LegacyRef<T>

Inherited from DOMElement.ref

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

### type

type: keyof ReactHTML

Overrides DOMElement.type

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