Skip to content

Commit

Permalink
Example For Border Colour
Browse files Browse the repository at this point in the history
  • Loading branch information
kebabmaster committed Feb 28, 2020
1 parent b39fdd4 commit 510434b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions example/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -306,8 +306,8 @@ export default class App extends Component {
<ReactTooltip id='custom-color-no-arrow' className='custom-color-no-arrow' textColor='#5F4B8BFF' backgroundColor='#E69A8DFF' effect='solid'/>
</div>
<div className="side">
<a data-for='custom-color' data-tip='That is one weird arrow!'>V(^-^)V</a>
<ReactTooltip id='custom-color' className='custom-color' place='right' textColor='#5F4B8BFF' backgroundColor='#E69A8DFF' arrowColor='red'/>
<a data-for='custom-color' data-tip='That is one weird arrow (and a border)!'>V(^-^)V</a>
<ReactTooltip id='custom-color' className='custom-color' place='right' border textColor='#5F4B8BFF' backgroundColor='#E69A8DFF' borderColor='darkgreen' arrowColor='red'/>
</div>
</div>
<br />
Expand All @@ -319,9 +319,9 @@ export default class App extends Component {
</p>
</div>
<div>
<p>{"<a data-for='custom-color' data-tip='That is one weird arrow!'>V(^-^)V</a>\n" +
"<ReactTooltip id='custom-color' className='custom-color' place='right'\n" +
"textColor='#5F4B8BFF' backgroundColor='#E69A8DFF' arrowColor='red'/>"}
<p>{"<a data-for='custom-color' data-tip='That is one weird arrow (and a border)!'>V(^-^)V</a>\n" +
"<ReactTooltip id='custom-color' className='custom-color' place='right' border\n" +
"textColor='#5F4B8BFF' backgroundColor='#E69A8DFF' borderColor='darkgreen' arrowColor='red'/>"}
</p>
</div>
</pre>
Expand Down

0 comments on commit 510434b

Please sign in to comment.