@central-icons-react/round-outlined-radius-0-stroke-1.5 0.0.32 → 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
@@ -4,6 +4,7 @@ A collection of round outline React icons with 0px radius and 1.5px stroke width
4
4
 
5
5
  ## Table of Contents
6
6
 
7
+ - [Quick Start](#quick-start)
7
8
  - [Installation](#installation)
8
9
  - [Requirements](#requirements)
9
10
  - [Usage](#usage)
@@ -14,6 +15,24 @@ A collection of round outline React icons with 0px radius and 1.5px stroke width
14
15
  - [License](#license)
15
16
  - [Troubleshooting](#troubleshooting)
16
17
 
18
+ ## Quick Start
19
+
20
+ ```bash
21
+ # Set your license key first
22
+ export CENTRAL_LICENSE_KEY=your_license_key
23
+
24
+ # Install with alias 'central-icons'
25
+ npm install central-icons@npm:@central-icons-react/round-outlined-radius-0-stroke-1.5
26
+ ```
27
+
28
+ ```jsx
29
+ import { IconHome } from "central-icons/IconHome";
30
+
31
+ function MyComponent() {
32
+ return <IconHome />;
33
+ }
34
+ ```
35
+
17
36
  ## Installation
18
37
 
19
38
  This package is private and can be installed via your organization's private npm registry. Make sure you have the required license key set up before installation.
@@ -37,7 +56,9 @@ pnpm add @central-icons-react/round-outlined-radius-0-stroke-1.5
37
56
 
38
57
  ## Usage
39
58
 
40
- Icons can be imported individually to keep your bundle size minimal (recommended):
59
+ ### Individual Imports (Recommended)
60
+
61
+ Icons can be imported individually to keep your bundle size minimal:
41
62
 
42
63
  ```jsx
43
64
  import { IconHome } from "@central-icons-react/round-outlined-radius-0-stroke-1.5/IconHome";
@@ -47,6 +68,23 @@ function MyComponent() {
47
68
  }
48
69
  ```
49
70
 
71
+ ### Import alias
72
+
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-0-stroke-1.5`
77
+
78
+ ```jsx
79
+ import { IconHome } from "central-icons/IconHome";
80
+
81
+ function MyComponent() {
82
+ return <IconHome />;
83
+ }
84
+ ```
85
+
86
+ ### Central Icon Component
87
+
50
88
  Or you can import from the main entry point (not recommended to be used in production, loads all icons):
51
89
 
52
90
  ```jsx