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)

Properties

Properties

key: string
props: SVGAttributes<SVGElement>
ref: LegacyRef<SVGElement>
type: keyof ReactSVG