Skip to content

btmdave/react-tippy2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-tippy2

React component for Tippy.js 2.x.

Installation

npm install react-tippy2

Example

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>  

About

React component for Tippy.js 2.x

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published