@odx/icons 4.0.0-rc.24 → 4.0.0-rc.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -110,6 +110,17 @@ icon.name='core::user'
|
|
|
110
110
|
document.body.appendChild(icon);
|
|
111
111
|
```
|
|
112
112
|
|
|
113
|
+
### Import specific icon sets
|
|
114
|
+
To optimize your bundle, you can import only the specific icon set you need:
|
|
115
|
+
|
|
116
|
+
```js
|
|
117
|
+
// All icon sets
|
|
118
|
+
import '@odx/icons/all';
|
|
119
|
+
|
|
120
|
+
// Core icons (default set)
|
|
121
|
+
import '@odx/icons/core';
|
|
122
|
+
```
|
|
123
|
+
|
|
113
124
|
### SCSS Example
|
|
114
125
|
|
|
115
126
|
```scss
|
package/package.json
CHANGED