iconoir-icons / iconoir

An open source icons library with 1600+ icons, supporting React, React Native, Flutter, Vue, Figma, and Framer.
https://iconoir.com
MIT License
3.88k stars 169 forks source link

[FEAT] Provide generic element <Icon /> to be able to pass icon name as string #470

Open maxonlinux opened 3 months ago

maxonlinux commented 3 months ago

Is your feature request related to a problem? Please describe. If you create a component which needs to display different icons, you always need to import those icons manually and pass to component.

Describe the solution you'd like import {Icon} from "iconoir-react-native"

<Icon name={"x-mark"} />

Describe alternatives you've considered N/A

Additional context N/A

Upvote & Fund

Fund with Polar