Skip to content

Commit 343874f

Browse files
docs: fix svg example tag (#3209)
1 parent 2733de2 commit 343874f

File tree

1 file changed

+5
-5
lines changed
  • website/pages/docs/utilities

1 file changed

+5
-5
lines changed

website/pages/docs/utilities/svg.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Change the fill color of an SVG element.
2424
Change the stroke color of an SVG element.
2525

2626
```jsx
27-
<div className={css({ stroke: 'blue.500' })} />
27+
<svg className={css({ stroke: 'blue.500' })} />
2828
```
2929

3030
| Prop | CSS Property | Token Category |
@@ -36,9 +36,9 @@ Change the stroke color of an SVG element.
3636
Change the stroke width of an SVG element.
3737

3838
```jsx
39-
<div className={css({ strokeWidth: '1px' })} />
39+
<svg className={css({ strokeWidth: '1px' })} />
4040
```
4141

42-
| Prop | CSS Property | Token Category |
43-
| ------------- | ------------ | -------------- |
44-
| `strokeWidth` | `stroke-width` | borderWidths |
42+
| Prop | CSS Property | Token Category |
43+
| ------------- | -------------- | -------------- |
44+
| `strokeWidth` | `stroke-width` | borderWidths |

0 commit comments

Comments
 (0)