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 closest the library creates right now would mean having to do something like importing a random icon and then using typeof to figure out its type, but this isn't clear and doesn't appear as a generic icon type.
Ideally, we'd be able to do something like `import type { NoIconType } from '@noicons/react'
The text was updated successfully, but these errors were encountered:
Currently, each icon has types generated but if you want to cast types to a prop outside the library this is really awkward.
Consider the following
What should the type of
icon
be?The closest the library creates right now would mean having to do something like importing a random icon and then using typeof to figure out its type, but this isn't clear and doesn't appear as a generic icon type.
Ideally, we'd be able to do something like `import type { NoIconType } from '@noicons/react'
The text was updated successfully, but these errors were encountered: