Skip to content

Commit b3ed903

Browse files
committed
test(svg example): fix stroke-width to strokeWidth, per console warning
1 parent fd8f2b0 commit b3ed903

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

example/src/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ class Test extends React.Component {
287287
<div className="example-jsx">
288288
<div className="side">
289289
<svg data-tip="=( •̀д•́)" data-for="svgTooltip" width="50" height="50">
290-
<circle cx="25" cy="25" r="22" fill="#fff" stroke="#000" stroke-width="4"/>
290+
<circle cx="25" cy="25" r="22" fill="#fff" stroke="#000" strokeWidth="4"/>
291291
</svg>
292292
<ReactTooltip id='svgTooltip'/>
293293
</div>
@@ -296,7 +296,7 @@ class Test extends React.Component {
296296
<pre className='example-pre'>
297297
<div>
298298
<p>{"<svg data-tip='=( •̀д•́)' data-for='svgTooltip' width='50' height='50'>\n" +
299-
" <circle cx='25' cy='25' r='22' fill='#fff' stroke='#000' stroke-width='8'/>\n" +
299+
" <circle cx='25' cy='25' r='22' fill='#fff' stroke='#000' strokeWidth='8'/>\n" +
300300
"</svg>\n" +
301301
"<ReactTooltip id='svgTooltip' />"}</p>
302302
</div>

0 commit comments

Comments
 (0)