Skip to content
New issue

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

Is there a duration parameter? #40

Closed
Vpet95 opened this issue Feb 2, 2019 · 2 comments
Closed

Is there a duration parameter? #40

Vpet95 opened this issue Feb 2, 2019 · 2 comments
Labels

Comments

@Vpet95
Copy link

Vpet95 commented Feb 2, 2019

A duration parameter would be nice, to configure how long the tooltips stay visible. Based on the documentation I don't believe there is - correct me if I'm wrong!

@slmgc slmgc added the question label Feb 4, 2019
@slmgc
Copy link
Owner

slmgc commented Feb 4, 2019

There is one. There is a property in the docs called "delay" which accepts either number or an object, e.g.

<ReactHint delay={{show: 0, hide: 1000}} /> // hide the tooltip after 1 second

Hope this helps!

@slmgc
Copy link
Owner

slmgc commented Feb 5, 2019

Closing, please feel free to reopen in case you still have questions.

@slmgc slmgc closed this as completed Feb 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants