Package Exports
- react-tippy2
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-tippy2) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
react-tippy2
React component for Tippy.js 2.x.
Installation
npm install react-tippy2Example
See docs for simple example. In docs folder, run npm run dev
Basic Usage
import Tippy2 from 'react-tippy2'
const App = () => {
return (
<Tippy2 title='This is a tooltip!'></Tippy2>
)
}
With HTML content
class Html extends React.Component {
render () {
return (
<div>This is html Content</div>
)
}
}
<Tippy2 title='This is a tooltip!' html={<Html />}></Tippy2>