We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b00dc56 commit d68625aCopy full SHA for d68625a
README.md
@@ -1,2 +1,35 @@
1
-## react-cc-tooltip
+# react-css-tooltip
2
3
+> css tooltip
4
+
5
6
+## DEMO
7
8
+## Install
9
10
+```bash
11
+npm install --save react-css-tooltip
12
+```
13
14
+## Usage
15
16
+```jsx
17
+import React, { Component } from 'react'
18
19
+import ReactCssTooltip from 'react-css-tooltip'
20
+import 'react-css-tooltip/dist/index.css';
21
22
+class Example extends Component {
23
+ render () {
24
+ return (
25
+ <ReactCssTooltip placement="top" text="wxbtop">test</ReactCssTooltip>
26
+ )
27
+ }
28
+}
29
30
31
+非 react 应用也可以直接引用 css 文件,给对应的 dom元素添加class `tooltip top` 这种方式来实现效果。
32
33
+## License
34
35
+MIT © [Go7hic](https://github.com/Go7hic)
0 commit comments