@bigbinary/neeto-icons 1.9.8 → 1.9.9
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 +19 -0
- package/dist/typeface-logos.js +2 -0
- package/dist/typeface-logos.js.map +1 -0
- package/package.json +4 -1
- package/typeface-logos.d.ts +36 -0
package/README.md
CHANGED
|
@@ -28,6 +28,25 @@ Anywhere in your React file
|
|
|
28
28
|
| size | string, number | 24 | Value supplied to height and width attributes of SVG element. |
|
|
29
29
|
| className | string | | Classes supplied to the SVG element. |
|
|
30
30
|
|
|
31
|
+
### Typeface Logos
|
|
32
|
+
|
|
33
|
+
```javascript
|
|
34
|
+
import { Neeto } from "@bigbinary/neeto-icons/typeface-logos";
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
Anywhere in your React file
|
|
38
|
+
|
|
39
|
+
```jsx
|
|
40
|
+
<Neeto height={24} width={48} />
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
| Name | Type | Default | Description |
|
|
44
|
+
| :-------- | :------------- | :----------- | :------------------------------------------------------------ |
|
|
45
|
+
| height | string, number | 20 | Value supplied to height attribute of SVG element. |
|
|
46
|
+
| width | string, number | auto | Value supplied to width attribute of SVG element. |
|
|
47
|
+
| className | string | | Classes supplied to the SVG element. |
|
|
48
|
+
|
|
49
|
+
|
|
31
50
|
### How it works
|
|
32
51
|
|
|
33
52
|
- It uses a script (`build/generate.js`) to take all the `.svg` files from the `source` folder and converts them to React components that render the SVG icon.
|