mirror of
https://github.com/feathericons/feather.git
synced 2023-08-10 21:13:24 +03:00
11 lines
275 B
JavaScript
11 lines
275 B
JavaScript
import Icon from './icon';
|
|
import icons from '../dist/icons.json';
|
|
import tags from './tags.json';
|
|
|
|
export default Object.keys(icons)
|
|
.map(key => new Icon(key, icons[key], tags[key]))
|
|
.reduce((object, icon) => {
|
|
object[icon.name] = icon;
|
|
return object;
|
|
}, {});
|