mirror of
https://github.com/iconify/iconify.git
synced 2025-01-08 15:54:09 +00:00
Web component: fix import syntax
This commit is contained in:
parent
07b3bf3819
commit
2ffecadfee
@ -130,7 +130,7 @@ Another option is to import icons and bundle them with Iconify, similar to React
|
|||||||
|
|
||||||
```js
|
```js
|
||||||
// Installation: npm install --save-dev iconify-icon
|
// Installation: npm install --save-dev iconify-icon
|
||||||
import { addIcon } from 'iconify-icon';
|
import 'iconify-icon';
|
||||||
// Installation: npm install --save-dev @iconify/icons-dashicons
|
// Installation: npm install --save-dev @iconify/icons-dashicons
|
||||||
import adminUsers from '@iconify/icons-dashicons/admin-users';
|
import adminUsers from '@iconify/icons-dashicons/admin-users';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user