# Interface ReactSVGElement

Represents a JSX element.

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

#### Example

    const element: ReactElement = <div />;

interface ReactSVGElement {
key: string;
props: SVGAttributes<SVGElement>;
ref: LegacyRef<SVGElement>;
type: keyof ReactSVG;
}

#### Hierarchy (view full)

- DOMElement<SVGAttributes<SVGElement>, SVGElement>
  - ReactSVGElement

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

#####
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: SVGAttributes<SVGElement>

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<SVGElement>

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 ReactSVG

Overrides DOMElement.type

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