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
Where this creates an SVG element, it doesn't (appear to) support any of the extra properties that are available and passed through - most notably onClick etc.
From the looks of the code it just passes through all unknown properties to the underlying React.CreateElement call.
I'm not sure if there's a best choice of what to do here, but the most inclusive one in this situation would be to change the Props interface slightly:
Where this creates an SVG element, it doesn't (appear to) support any of the extra properties that are available and passed through - most notably
onClick
etc.From the looks of the code it just passes through all unknown properties to the underlying React.CreateElement call.
I'm not sure if there's a best choice of what to do here, but the most inclusive one in this situation would be to change the
Props
interface slightly:The text was updated successfully, but these errors were encountered: