You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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...
The text was updated successfully, but these errors were encountered:
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...
The text was updated successfully, but these errors were encountered: