Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/uiur/react-overflow-tooltip
A React component that adds a tooltip only if the text is overflow.
https://github.com/uiur/react-overflow-tooltip
Last synced: 3 months ago
JSON representation
A React component that adds a tooltip only if the text is overflow.
- Host: GitHub
- URL: https://github.com/uiur/react-overflow-tooltip
- Owner: uiur
- License: isc
- Created: 2015-08-27T03:13:37.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-18T11:06:05.000Z (over 7 years ago)
- Last Synced: 2024-09-14T13:11:43.623Z (4 months ago)
- Language: JavaScript
- Homepage:
- Size: 5.86 KB
- Stars: 14
- Watchers: 2
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# react-overflow-tooltip
[![npm][npm-image]][npm-url]
[![travis][travis-image]][travis-url][npm-image]: https://img.shields.io/npm/v/react-overflow-tooltip.svg?style=flat-square
[npm-url]: https://www.npmjs.com/package/react-overflow-tooltip
[travis-image]: https://img.shields.io/travis/uiureo/react-overflow-tooltip.svg?style=flat-square
[travis-url]: https://travis-ci.org/uiureo/react-overflow-tooltipA React component that shows a tooltip only if the text is overflow.
```js
var ReactOverflowTooltip = require('react-overflow-tooltip')
too long text// =>
too long text...
{ text }// =>
too long text...
```## Install
```
npm install react-overflow-tooltip
```## License
[ISC](LICENSE)