@mxenabled/mx-icons 1.0.0 → 1.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 +4 -4
- package/dist/index.es.js +108 -108
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -11,8 +11,8 @@ running a script that will build new React components for the added icons.
|
|
|
11
11
|
|
|
12
12
|
```json
|
|
13
13
|
{
|
|
14
|
-
"weight":
|
|
15
|
-
"size":
|
|
14
|
+
"weight": 400,
|
|
15
|
+
"size": 24,
|
|
16
16
|
"material_icon_type": "materialsymbolsrounded",
|
|
17
17
|
"material_icons": [
|
|
18
18
|
"account_balance",
|
|
@@ -24,7 +24,7 @@ running a script that will build new React components for the added icons.
|
|
|
24
24
|
}
|
|
25
25
|
```
|
|
26
26
|
- `weight` - The line thickness to use for the material symbols `[100-700]`
|
|
27
|
-
- `size` - The
|
|
27
|
+
- `size` - The optical DPS size `[20, 24, 40, 48]`
|
|
28
28
|
- `material_icon_type` - The type of icons `[materialsymbolsoutlined, materialsymbolsrounded, materialsymbolssharp]`
|
|
29
29
|
- `material_icons` - A list of material icon names to include in the library
|
|
30
30
|
|
|
@@ -62,7 +62,7 @@ directly using the named icon component `<AccountBalance />`
|
|
|
62
62
|
- name (required) - material symbol name in pascal_case
|
|
63
63
|
- size (optional) - The font size of the icon (Defaults to `20`)
|
|
64
64
|
- sx (optional) - MUI SX Prop
|
|
65
|
-
- weight (optional) - DEPRECATED - Weight is hardcoded in config (Defaults to `
|
|
65
|
+
- weight (optional) - DEPRECATED - Weight is hardcoded in config (Defaults to `400`)
|
|
66
66
|
|
|
67
67
|
##### Named icon component
|
|
68
68
|
```tsx
|