Add HTML typings to all components, and make sure ...props
are passed down to the correct element
#88
Labels
enhancement
New feature or request
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: