vanilla-icon
Size < 1kb
Install
$ npm install --save vanilla-message
Use
import List from 'vanilla-icon';
// add https://www.iconfont.cn/ css-iconfont
const icon = Icon('close', { type: 'font' });
document.body.append(iconi);
Size < 1kb
$ npm install --save vanilla-message
import List from 'vanilla-icon';
// add https://www.iconfont.cn/ css-iconfont
const icon = Icon('close', { type: 'font' });
document.body.append(iconi);
npm i vanilla-icon
1
0.1.0
none
60.9 kB
12