You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
674 B
TypeScript

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