Created
January 29, 2024 00:27
-
-
Save pugson/7ada2c0aad9ce3b715bfe6a2a1c536d6 to your computer and use it in GitHub Desktop.
Revisions
-
pugson created this gist
Jan 29, 2024 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,26 @@ | SVG Attribute | JSX Property | |---------------------------|----------------------------| | `class` | `className` | | `fill-opacity` | `fillOpacity` | | `stroke-opacity` | `strokeOpacity` | | `stroke-width` | `strokeWidth` | | `stroke-linecap` | `strokeLinecap` | | `stroke-linejoin` | `strokeLinejoin` | | `stroke-dasharray` | `strokeDasharray` | | `stroke-dashoffset` | `strokeDashoffset` | | `xlink:href` | `xlinkHref` | | `clip-path` | `clipPath` | | `stop-color` | `stopColor` | | `view-box` | `viewBox` | | `text-anchor` | `textAnchor` | | `gradient-transform` | `gradientTransform` | | `gradient-units` | `gradientUnits` | | `pattern-content-units` | `patternContentUnits` | | `pattern-units` | `patternUnits` | | `pattern-transform` | `patternTransform` | | `mask-content-units` | `maskContentUnits` | | `mask-units` | `maskUnits` | | `alignment-baseline` | `alignmentBaseline` | | `baseline-shift` | `baselineShift` | | `enable-background` | `enableBackground` | | `image-rendering` | `imageRendering` |