Thank you for this awesome icon package.
I want to use icons dynamically for menu purposes that are generated from the database.
I will import all the icons that will be used in the application. (approximately 50 icons)
I wrote the code as follows:
//parent component
import MyIcon from './MyIcon'
//...
<MyIcon name="biSolidChevronDown"/>
Is this method correct? not just "work"
has anyone taken the same approach?
Thanks in advance
Additional note:
i came from vuejs. I have used the mdi-vue package which I think is good.
Has anyone kindly made a package equivalent to that, using solid-icons for SolidJS?
https://github.com/therufa/mdi-vue
as an example
Thank you for this awesome icon package. I want to use icons dynamically for menu purposes that are generated from the database. I will import all the icons that will be used in the application. (approximately 50 icons) I wrote the code as follows:
then use it in the component
Is this method correct? not just "work" has anyone taken the same approach? Thanks in advance
Additional note: i came from vuejs. I have used the mdi-vue package which I think is good. Has anyone kindly made a package equivalent to that, using solid-icons for SolidJS? https://github.com/therufa/mdi-vue as an example