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
The ...props should be added as an argument, as well as spread into the correct tag of the component. The type to add depends on the tag the ...props end up on (e.g. <div {...props}>..</div> -> HTMLDivElement, <button {...props}/> -> HTMLButtonElement)
Like here: 8b55c94
The
...props
should be added as an argument, as well as spread into the correct tag of the component. The type to add depends on the tag the...props
end up on (e.g.<div {...props}>..</div>
->HTMLDivElement
,<button {...props}/>
->HTMLButtonElement
)Especially:
The text was updated successfully, but these errors were encountered: