Skip to content

Commit

Permalink
test(svg example): fix stroke-width to strokeWidth, per console warning
Browse files Browse the repository at this point in the history
  • Loading branch information
aronhelser committed May 3, 2018
1 parent fd8f2b0 commit b3ed903
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions example/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ class Test extends React.Component {
<div className="example-jsx">
<div className="side">
<svg data-tip="=( •̀д•́)" data-for="svgTooltip" width="50" height="50">
<circle cx="25" cy="25" r="22" fill="#fff" stroke="#000" stroke-width="4"/>
<circle cx="25" cy="25" r="22" fill="#fff" stroke="#000" strokeWidth="4"/>
</svg>
<ReactTooltip id='svgTooltip'/>
</div>
Expand All @@ -296,7 +296,7 @@ class Test extends React.Component {
<pre className='example-pre'>
<div>
<p>{"<svg data-tip='=( •̀д•́)' data-for='svgTooltip' width='50' height='50'>\n" +
" <circle cx='25' cy='25' r='22' fill='#fff' stroke='#000' stroke-width='8'/>\n" +
" <circle cx='25' cy='25' r='22' fill='#fff' stroke='#000' strokeWidth='8'/>\n" +
"</svg>\n" +
"<ReactTooltip id='svgTooltip' />"}</p>
</div>
Expand Down

0 comments on commit b3ed903

Please sign in to comment.