@epilot360/icons 1.1.0 → 1.2.0

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 CHANGED
@@ -17,15 +17,22 @@ The `@epilot360/icons` package is shipped as an external system module in the 36
17
17
  You can import any icon as a React component by name:
18
18
 
19
19
  ```tsx
20
- import { Edit as EditIcon } from '@epilot360/icons'
20
+ import { Edit as EditIcon, EpilotIcon } from '@epilot360/icons'
21
21
 
22
22
  <EditIcon />
23
+ // or
24
+ <EpilotIcon name="edit" />
23
25
  ```
24
26
 
27
+ ## Usage outside 360 portal
25
28
 
26
- Or use the `<EpilotIcon>` React component:
29
+ To avoid bundling the entire `@epilot360/icons` library, you can import the module directly:
27
30
 
28
31
  ```tsx
32
+ import EditIcon from '@epilot360/icons/react/Edit'
33
+
34
+ <EditIcon />
35
+ ```
29
36
  import { EpilotIcon } from '@epilot360/icons'
30
37
 
31
38
  <EpilotIcon name="edit" />