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
Sorry it took me a little while to get around to this, but it looks like preactjs/preact#1033 may have solved the issue? It's not been released yet, but using the updated definition it appears your examples now work.
Thanks for this brilliant source of reference! Really cuts through the noise :-)
What's missing for me, is how to type-hint a functional component that accepts standard JSX attributes?
I tried the following:
But I get the following error:
Clearly, type-hinting as
FunctionalComponent<ButtonProps>
isn't the right way to go about this?The text was updated successfully, but these errors were encountered: