Closed acco closed 4 years ago
We need to add ReactElement to the import statement for snippets tsrfc and tsrfce.
ReactElement
tsrfc
tsrfce
Beaten to it in #93 :)
If I'm not mistaken, I think function components should be typed as FunctionComponent instead of ReactElement. This is the guide I've been using. Thoughts?
We need to add
ReactElement
to the import statement for snippetstsrfc
andtsrfce
.