We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 55df6c9 commit 00c6bd6Copy full SHA for 00c6bd6
app/components/Tooltip/index.tsx
@@ -1 +1,15 @@
1
+import { Tooltip as TooltipBase } from "./tooltip";
2
+
3
+export const Tooltip = ({ trigger, content, props }: TooltipBase.RootProps) => (
4
+ <TooltipBase.Root {...props}>
5
+ <TooltipBase.Trigger>{trigger}</TooltipBase.Trigger>
6
+ <TooltipBase.Positioner>
7
+ <TooltipBase.Arrow>
8
+ <TooltipBase.ArrowTip />
9
+ </TooltipBase.Arrow>
10
+ <TooltipBase.Content>{content}</TooltipBase.Content>
11
+ </TooltipBase.Positioner>
12
+ </TooltipBase.Root>
13
+);
14
15
export * from "./tooltip";
0 commit comments