Skip to content

Commit af0a7a1

Browse files
warentbenjycui
authored andcommitted
docs: update README.md (#100)
Add information on the stylesheet.
1 parent cc23ae6 commit af0a7a1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@ React Tooltip
4444
var Tooltip = require('rc-tooltip');
4545
var React = require('react');
4646
var ReactDOM = require('react-dom');
47+
48+
// By default, the tooltip has no style.
49+
// Consider importing the stylesheet it comes with:
50+
// 'rc-tooltip/assets/bootstrap_white.css'
51+
4752
ReactDOM.render(<Tooltip placement="left" trigger={['click']} overlay={<span>tooltip</span>}><a href='#'>hover</a></Tooltip>, container);
4853
```
4954

0 commit comments

Comments
 (0)