Replies: 2 comments 6 replies
-
|
HI @ninom, The main issue with your sandbox is that you're using border on the arrow which is an SVG so it expects stroke rather. Here's an old sandbox (not the latest version of primitives) which shows you how you might do it with a custom arrow: Let me know if that helps! |
Beta Was this translation helpful? Give feedback.
-
|
In case, someone is using reka with tailwind can use this approach (reka 2.5) <TooltipArrow
:width="20"
:height="10"
class="fill-current text-red stroke-[#eaf701] stroke-2"
/> |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
Say I wanna add a black border around the whole tooltip, including the arrow. I tried adding a solid 1px black border like so:
https://codesandbox.io/s/funny-mclaren-ltvsy?file=/App.js
but it also has a line underneath the triangle. How do I get rid of the line so the border only outlines the tooltip including the arrow?
Beta Was this translation helpful? Give feedback.
All reactions