Skip to content

Commit

Permalink
fix(demo): add working image service url. escape quotes.
Browse files Browse the repository at this point in the history
  • Loading branch information
jafin committed Apr 2, 2022
1 parent f552f0b commit c741708
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions example/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ export default class App extends Component<any, any> {
<br />
The tooltip will hide.
<br />
Make sure you set data-iscapture="true"
Make sure you set data-iscapture=&quot;true&quot;
</div>
<ReactTooltip
id="scrollContent"
Expand Down Expand Up @@ -802,8 +802,8 @@ export default class App extends Component<any, any> {
>
<div>header</div>
<img
src="http://lorempixel.com/100/1500"
alt="lorem 100x1500"
src="http://picsum.photos/200/1500"
alt="picsum.photos 200x1500"
/>
<div>footer</div>
</ReactTooltip>
Expand All @@ -813,8 +813,8 @@ export default class App extends Component<any, any> {
<ReactTooltip id="noOverridePosition">
<div>header</div>
<img
src="http://lorempixel.com/100/1500"
alt="lorem 100x1500"
src="http://picsum.photos/200/1500"
alt="picsum.photos 200x1500"
/>
<div>footer</div>
</ReactTooltip>
Expand All @@ -838,13 +838,13 @@ export default class App extends Component<any, any> {
' return { top, left }\n' +
'} }>\n' +
' <div>header</div>\n' +
' <img src="http://lorempixel.com/100/1500" alt="lorem image 100x1500" />\n' +
' <img src="http://placekitten.com/100/1500" alt="lorem image 100x1500" />\n' +
' <div>footer</div>\n' +
'</ReactTooltip>\n' +
"<a data-tip data-for='noOverridePosition'>( •̀д•́) noOverride</a>\n" +
"<ReactTooltip id='noOverridePosition'>\n" +
' <div>header</div>\n' +
' <img src="http://lorempixel.com/100/1500" alt="lorem image 100x1500" />\n' +
' <img src="http://placekitten.com/100/1500" alt="lorem image 100x1500" />\n' +
' <div>footer</div>\n' +
'</ReactTooltip>'}
</p>
Expand Down

0 comments on commit c741708

Please sign in to comment.