symbols-react 1.0.0 → 1.0.1
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 +7 -7
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Symbols
|
|
2
2
|
|
|
3
|
-
SF
|
|
3
|
+
SF Symbols for the web, a comprehensive icon library designed for easy integration into your web projects.
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
7
7
|
To use `symbols` in your project, install it via npm:
|
|
8
8
|
|
|
9
9
|
```shell
|
|
10
|
-
npm install
|
|
10
|
+
npm install symbols-react
|
|
11
11
|
```
|
|
12
12
|
Or via yarn:
|
|
13
13
|
|
|
14
14
|
```shell
|
|
15
|
-
yarn add
|
|
15
|
+
yarn add symbols-react
|
|
16
16
|
```
|
|
17
17
|
|
|
18
18
|
## Usage
|
|
19
19
|
|
|
20
20
|
After installation, you can import and use the icons in your React components:
|
|
21
21
|
```shell
|
|
22
|
-
import { IconIcloud, IconPencil } from '
|
|
22
|
+
import { IconIcloud, IconPencil } from 'symbols-react';
|
|
23
23
|
|
|
24
24
|
function MyApp() {
|
|
25
25
|
return (
|
|
26
26
|
<div>
|
|
27
|
-
<IconIcloud />
|
|
28
|
-
<IconPencil />
|
|
27
|
+
<IconIcloud fill="black" />
|
|
28
|
+
<IconPencil fill="black" />
|
|
29
29
|
</div>
|
|
30
30
|
);
|
|
31
31
|
}
|