import antdesignIcons from '@iconify/json/json/ant-design.json' import gridiconsIcons from '@iconify/json/json/gridicons.json' import mdiIcons from '@iconify/json/json/mdi.json' import ionIcons from '@iconify/json/json/ion.json' import carbonIcons from '@iconify/json/json/carbon.json' import emojioneIcons from '@iconify/json/json/emojione.json' import CustomSvgJSON from '/build/_generated/svg.json' const collections = [antdesignIcons, gridiconsIcons, mdiIcons, ionIcons, carbonIcons, emojioneIcons, CustomSvgJSON] const ret: string[] = [] collections.forEach((item) => { ret.push(...Object.keys(item.icons).map(key => `${item.prefix}:${key}`)) }) export default ret