react-qtip is react-based implementation of qtip2(http://qtip2.com)
npm install react-qtip --save-dev
import React from 'react';
import ReactDOM from 'react-dom';
import Tooltip from 'react-qtip';
const App = () => (
<Tooltip title="qtip2" text="qtip2 is one of the tooltip library">
<a href='qtip2.com/'>Go to Qtip2</a>
</Tooltip>
);
ReactDOM.render(
<App />,
document.getElementById('app')
);
- npm run examples
- http://localhost:4000