and everything seems to works fine in development, however i got the errors:
"JSX element class does not support attributes because it does not have a 'props' property.",
'ReactSVG' cannot be used as a JSX component.
Its type 'typeof ReactSVG' is not a valid JSX element type.
Type 'typeof ReactSVG' is not assignable to type 'new (props: any, deprecatedLegacyContext?: any) => Component<any, any, any>'.
Type 'ReactSVG' is missing the following properties from type 'Component<any, any, any>': context, setState, forceUpdate, props, refs
and can't build the app.
Everything else works as i intended and i can't seem to find another solution to make it work...
I'm using a ReactSVG like this:
and everything seems to works fine in development, however i got the errors: "JSX element class does not support attributes because it does not have a 'props' property.", 'ReactSVG' cannot be used as a JSX component. Its type 'typeof ReactSVG' is not a valid JSX element type. Type 'typeof ReactSVG' is not assignable to type 'new (props: any, deprecatedLegacyContext?: any) => Component<any, any, any>'. Type 'ReactSVG' is missing the following properties from type 'Component<any, any, any>': context, setState, forceUpdate, props, refs
and can't build the app.
Everything else works as i intended and i can't seem to find another solution to make it work...