mirror of
https://github.com/feathericons/feather.git
synced 2023-08-10 21:13:24 +03:00
Create pr.js
This commit is contained in:
parent
a718a7e9c3
commit
74d17b9cf7
10
pr.js
Normal file
10
pr.js
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
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;
|
||||||
|
}, {});
|
Loading…
Reference in New Issue
Block a user