@central-icons-react/round-outlined-radius-1-stroke-2 0.0.34 → 0.0.36

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
@@ -70,28 +70,28 @@ function MyComponent() {
70
70
 
71
71
  ### Import alias
72
72
 
73
- Or you can import from the main entry point (not recommended to be used in production, loads all icons):
73
+ If you want to have a bit cleaner imports (and you are just using one icon type), you can use import aliases
74
+ (Requires npm at least v6.9.0 or yarn)
75
+
76
+ `npm install central-icons@npm:@central-icons-react/round-outlined-radius-1-stroke-2`
74
77
 
75
78
  ```jsx
76
- import { CentralIcon } from "@central-icons-react/round-outlined-radius-1-stroke-2";
79
+ import { IconHome } from "central-icons/IconHome";
77
80
 
78
81
  function MyComponent() {
79
- return <CentralIcon name="IconName" />;
82
+ return <IconHome />;
80
83
  }
81
84
  ```
82
85
 
83
86
  ### Central Icon Component
84
87
 
85
- If you want to have a bit cleaner imports (and you are just using one icon type), you can use import aliases
86
- (Requires npm at least v6.9.0 or yarn)
87
-
88
- `npm install central-icons@npm:@central-icons-react/round-outlined-radius-1-stroke-2`
88
+ Or you can import from the main entry point (not recommended to be used in production, loads all icons):
89
89
 
90
90
  ```jsx
91
- import { IconHome } from "central-icons/IconHome";
91
+ import { CentralIcon } from "@central-icons-react/round-outlined-radius-1-stroke-2";
92
92
 
93
93
  function MyComponent() {
94
- return <IconHome />;
94
+ return <CentralIcon name="IconName" />;
95
95
  }
96
96
  ```
97
97