We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how can we open tooltip on click event ?
The text was updated successfully, but these errors were encountered:
For now you can use the standalone version
import React from "react" import Tooltip from "react-simple-tooltip" const App = () => ( <div style={{position: "relative"}}> <Tooltip style={{position: "absolute", top: "50%", right: "0"}} content="😎" /> </div> )
and trigger onClick to your component.
If you want to make a PR to use a syntax similar to this, I'm open :)
import React from "react" import Tooltip from "react-simple-tooltip" const App = () => ( <Tooltip content="😎" openOnClick> <button>Hover me !</button> </Tooltip> )
Sorry, something went wrong.
No branches or pull requests
how can we open tooltip on click event ?
The text was updated successfully, but these errors were encountered: