[Popover][Tooltip] custom arrow #1828
Answered
by
benoitgrelard
SombreroElGringo
asked this question in
Help
-
Hello, I am trying to use a custom arrow svg for my tooltips and popovers, but cannot found a way to implement it. Do you have some suggestion how we can achieve this? I found this example done on an older version of the popover component, but when I tried with the latest version it seems it was not working anymore |
Beta Was this translation helpful? Give feedback.
Answered by
benoitgrelard
Dec 12, 2022
Replies: 1 comment
-
Yeah you can use <Popover.Arrow asChild>
<MySvgArrow />
</Popover.Arrow>
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
SombreroElGringo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yeah you can use
asChild
on the arrow part.So: