# react-css-tooltip

> css tooltip

Latest version **1.0.1** (published 2019-09-03) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-css-tooltip
pnpm add react-css-tooltip
yarn add react-css-tooltip
bun add react-css-tooltip
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2019-09-03 |
| First published | 2019-08-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Node | >=8 |
| Dependencies | 0 |
| Unpacked size | 1.7 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Go7hic |
| Maintainers | go7hic |

## Links

- npm: https://www.npmjs.com/package/react-css-tooltip
- Repository: http://git.wxb.com/shipnew/react-css-tooltip
- npm.io page: https://npm.io/package/react-css-tooltip

## Recent versions

- 1.0.1 (latest) — 2019-09-03
- 1.0.0 — 2019-09-03
- 0.1.0 — 2019-08-08

## README

# react-css-tooltip

> css tooltip


## DEMO
http://git.wxb.com/pages/shipnew/react-css-tooltip/public/index.html

## Install

```bash
npm install --save @wxb/react-css-tooltip
```

## Usage

```jsx
import React, { Component } from 'react'

import ReactCssTooltip from 'react-css-tooltip'
import 'react-css-tooltip/dist/index.css';

class Example extends Component {
  render () {
    return (
      <ReactCssTooltip placement="top" text="wxbtop">test</ReactCssTooltip>
    )
  }
}
```

非 react 应用也可以直接引用 css 文件，给对应的 dom元素添加class `tooltip top` 这种方式来实现效果。客户端编辑器就是通过这个 css 来实现 icon 鼠标移上去显示功能说明的。

## License

MIT © [Go7hic](https://git.wxb.com/Go7hic)

---
_Source: https://npm.io/package/react-css-tooltip · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
