Skip to content

Request: Add option to change border radius #694

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

Closed
michaelzhu23 opened this issue Apr 15, 2021 · 3 comments
Closed

Request: Add option to change border radius #694

michaelzhu23 opened this issue Apr 15, 2021 · 3 comments

Comments

@michaelzhu23
Copy link

I think it'd be useful to have a prop to customize the border radius of the tooltip.

@targumon
Copy link

Anti-Request: dear library maintainers, please don't add props unless absolutely necessary.
And in this case it's not.

@michaelzhu23 Just use the existing className prop 🙂
JSX:

<ReactTooltip className='customTooltip'/>

CSS:

.customTooltip {
  border-radius: 0;
}

@sgehrman
Copy link

sgehrman commented Aug 11, 2022

doesn't work, you have to add !important

@danielbarion
Copy link
Member

hi, guys can you let me know your thoughts here, please? #820 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants