Closed
Description
Will there be support for SVG elements or not?
Now the error appears. Since the SVG element is not compatible with the HTML element.
TS2322: Type '(instance: HTMLElement | null) => void' is not assignable to type 'LegacyRef<SVGSVGElement>'.
Type '(instance: HTMLElement | null) => void' is not assignable to type '(instance: SVGSVGElement | null) => void'.
Types of parameters 'instance' and 'instance' are incompatible.
Type 'SVGSVGElement | null' is not assignable to type 'HTMLElement | null'.
Type 'SVGSVGElement' is missing the following properties from type 'HTMLElement':
accessKey, accessKeyLabel, autocapitalize, dir, and 19 more.