@icons-pack/react-simple-icons 6.0.0 → 6.1.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 +12 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -92,12 +92,23 @@ function ChangeTitle() {
|
|
|
92
92
|
}
|
|
93
93
|
```
|
|
94
94
|
|
|
95
|
+
## Use default color
|
|
96
|
+
|
|
97
|
+
Set color as `default` to use the default color for each icon
|
|
98
|
+
|
|
99
|
+
```jsx
|
|
100
|
+
import { ReactJs } from '@icons-pack/react-simple-icons';
|
|
101
|
+
|
|
102
|
+
function DefaultColorExample() {
|
|
103
|
+
return <ReactJs color="default" size={24} />;
|
|
104
|
+
}
|
|
105
|
+
```
|
|
106
|
+
|
|
95
107
|
## Custom styles
|
|
96
108
|
|
|
97
109
|
```jsx
|
|
98
110
|
import { ReactJs } from '@icons-pack/react-simple-icons';
|
|
99
111
|
|
|
100
|
-
// title default "React"
|
|
101
112
|
function CustomStyles() {
|
|
102
113
|
return <ReactJs className='myStyle' />;
|
|
103
114
|
}
|