Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support generic Icon component with ‘type’ prop #292

Open
VictorioMolina opened this issue Mar 10, 2024 · 0 comments
Open

Support generic Icon component with ‘type’ prop #292

VictorioMolina opened this issue Mar 10, 2024 · 0 comments

Comments

@VictorioMolina
Copy link

I am moving an old project from react-native-elements to this library.

Previously, with the mentioned package, I was able to do something like:

<Icon
   type=“material”
   name=“search”
   
/>

Instead of importing a specific component for each specific icon family, is there another generic way supporting a type prop?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant