code4rena-dev / components-library

Components library for Code4rena, and accessible as a package to be used in React based Code4rena products.
https://components-library-wine.vercel.app
0 stars 0 forks source link

Typescript Updates #66

Closed leo95oliveira closed 6 months ago

leo95oliveira commented 6 months ago

This minor PR is to address an error that was coming from using React.FC to type the components of the library.

Error: Component cannot be used as a JSX component. Its return type React.FC is not a valid JSX element

vercel[bot] commented 6 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
components-library ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 14, 2024 3:42pm