mirror of
https://github.com/tabler/tabler-icons.git
synced 2025-09-01 18:04:10 +02:00
Corrected example for additional props and added missing prop (#491)
This commit is contained in:
@@ -62,7 +62,7 @@ import { IconHeart } from '@tabler/icons-svelte';
|
|||||||
You can pass additional props to adjust the icon.
|
You can pass additional props to adjust the icon.
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<IconHeart size={48} strokeWidth={1} />
|
<IconHeart size={48} stroke={1} />
|
||||||
```
|
```
|
||||||
|
|
||||||
### Props
|
### Props
|
||||||
@@ -72,6 +72,7 @@ You can pass additional props to adjust the icon.
|
|||||||
| `size` | _Number_ | 24 |
|
| `size` | _Number_ | 24 |
|
||||||
| `color` | _String_ | currentColor |
|
| `color` | _String_ | currentColor |
|
||||||
| `stroke` | _Number_ | 2 |
|
| `stroke` | _Number_ | 2 |
|
||||||
|
| `class` | _String_ | |
|
||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user