Skip to content

[Feature request] make arrow size customizable #753

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
FedeTommi opened this issue Mar 30, 2022 · 6 comments
Closed

[Feature request] make arrow size customizable #753

FedeTommi opened this issue Mar 30, 2022 · 6 comments

Comments

@FedeTommi
Copy link

Would it be possible to add a new prop "arrowSize" to change the size of the arrow?
like so:

.${uuid}.place-bottom::after {
       border-left: ${arrowSize}px solid transparent;
       border-right: ${arrowSize}px solid transparent;
       top: -6px;
       left: 50%;
       margin-left: -${arrowSize}px;
       border-bottom-color: ${arrowColor};
       border-bottom-style: solid;
       border-bottom-width: 6px;
   }
@danielbarion
Copy link
Member

Hi, @FedeTommi can you do a PR to this feature, please?

Thanks!

@danielbarion
Copy link
Member

You still can do the PR for V4, but this will be handled on V5, thanks!

#812

@danielbarion
Copy link
Member

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

@FedeTommi FedeTommi mentioned this issue Nov 17, 2022
Merged
41 tasks
@danielbarion
Copy link
Member

Hi @FedeTommi, this is now possible with V5 (which is still WIP), but please take a look at:

https://react-tooltip.com/docs/examples/styling

I'll close this issue but feel free to give your feedback on the V5 Pull request, thanks!

@PavelKopecky
Copy link

Hey, is this really implemented? I cannot find anything about it in the docs and cannot find it anywhere in the source files either.

@ReactTooltip ReactTooltip locked as resolved and limited conversation to collaborators Jul 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants