Closed gregbia closed 5 years ago
I'm trying to build a font picker which lists multiple svg icons. Is it possible to get all the icon names from a library as an array or object?
Hi @gregbia
import * as mdIcons from 'react-icons-kit/md' You can then iterate keys of mdIcons as Object.keys(mdIcons) and use it as mdIcons[key]
I'm trying to build a font picker which lists multiple svg icons. Is it possible to get all the icon names from a library as an array or object?