@pzh-ui/icons 0.0.2 → 0.0.3
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 +5 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ Add the NPM package for the icons.
|
|
|
6
6
|
|
|
7
7
|
In order to add the entire component library, install [@pzh-ui/icons](https://www.npmjs.com/package/@pzh-ui/icons) using your favorite package manager.
|
|
8
8
|
|
|
9
|
-
For example, `
|
|
9
|
+
For example, `yarn add @pzh-ui/icons`.
|
|
10
10
|
|
|
11
11
|
After installing the dependency, you can start using the icons as follows:
|
|
12
12
|
|
|
@@ -17,3 +17,7 @@ function Page() {
|
|
|
17
17
|
return <Check />
|
|
18
18
|
}
|
|
19
19
|
```
|
|
20
|
+
|
|
21
|
+
## Adding new icons
|
|
22
|
+
|
|
23
|
+
Add your new SVG icon to the `src/` folder. After that run `yarn svgr` and your new icon will be generated in `src/components/`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pzh-ui/icons",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"description": "Contains icons to use in Provincie Zuid-Holland projects.",
|
|
5
5
|
"homepage": "https://github.com/Provincie-Zuid-Holland/pzh-ui#readme",
|
|
6
6
|
"license": "ISC",
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"typescript": "^4.6.2",
|
|
48
48
|
"vite": "^2.8.6"
|
|
49
49
|
},
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "ec39eb2c9e6e0d3cd0c97d39b41b9e638317026b"
|
|
51
51
|
}
|