UNPKG

@navinc/base-react-components

Version:
38 lines (34 loc) 905 B
import * as actions from './actions/index.js' import * as buildings from './buildings/index.js' import * as business from './business/index.js' import * as data from './data/index.js' import * as feedback from './feedback/index.js' import * as financing from './financing/index.js' import * as food from './food/index.js' import * as medical from './medical/index.js' import * as people from './people/index.js' import * as seasons from './seasons/index.js' import * as system from './system/index.js' import * as tech from './tech/index.js' export const iconList = { actions, buildings, business, data, feedback, financing, food, medical, people, seasons, system, tech, } export default iconList export const listOfIcons = Object.entries(iconList) .map(([key, values]) => { return Object.keys(values).map((value) => { return `${key}/${value}` }) }) .flat()