React tooltip component.
npm install react-tooltip-componentA simple tooltip component for ReactJS.
``bash`
npm install --save-dev react-tooltip-component
#### Webpack
`js`
import 'react-tooltip-component/lib/tooltip.css';
//require('react-tooltip-component/lib/tooltip.css');
`html`
`js
import Tooltip from 'react-tooltip-component';
`
`html`
`js`
const Tooltip = window.ReactTooltipComponent;
| Name | Type | Required | Default | Description |
|------|------|----------|---------|-------------|
| title | string | true | | |
| position | string | false | top` | ['left', 'top', 'right', 'bottom'] |
| fixed | bool | false | true | fixed or not |
| container | element | false | document.body | |
| children | node | true | |
View demo or example folder.