File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
website/pages/docs/utilities Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ Change the fill color of an SVG element.
24
24
Change the stroke color of an SVG element.
25
25
26
26
``` jsx
27
- < div className= {css ({ stroke: ' blue.500' })} / >
27
+ < svg className= {css ({ stroke: ' blue.500' })} / >
28
28
```
29
29
30
30
| Prop | CSS Property | Token Category |
@@ -36,9 +36,9 @@ Change the stroke color of an SVG element.
36
36
Change the stroke width of an SVG element.
37
37
38
38
``` jsx
39
- < div className= {css ({ strokeWidth: ' 1px' })} / >
39
+ < svg className= {css ({ strokeWidth: ' 1px' })} / >
40
40
```
41
41
42
- | Prop | CSS Property | Token Category |
43
- | ------------- | ------------ | -------------- |
44
- | ` strokeWidth ` | ` stroke-width ` | borderWidths |
42
+ | Prop | CSS Property | Token Category |
43
+ | ------------- | -------------- | -------------- |
44
+ | ` strokeWidth ` | ` stroke-width ` | borderWidths |
You can’t perform that action at this time.
0 commit comments