Skip to content

Commit

Permalink
fix: correct stroke-width syntax in SVG icon
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbert committed Nov 26, 2024
1 parent cc77307 commit f564dee
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/selfish-pumas-enjoy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@utrecht/component-library-react": patch
---

Use correct `stroke-width` syntax in SVG icon of the Accordion, and avoid warning in logs.
2 changes: 1 addition & 1 deletion packages/component-library-react/src/Accordion.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const IconChevronDown = () => (
<g style={{ clipPath: 'url(#clippath)' }}>
<path
d="m7,8c-.26,0-.51-.1-.71-.29L.29,1.71C-.1,1.32-.1.68.29.29S1.32-.1,1.71.29l5.29,5.29L12.29.29c.39-.39,1.02-.39,1.41,0s.39,1.02,0,1.41l-6,6c-.2.2-.45.29-.71.29Z"
style={{ strokeWidth: '0px;' }}
style={{ strokeWidth: '0px' }}
/>
</g>
</svg>
Expand Down

0 comments on commit f564dee

Please sign in to comment.