diff --git a/web/apps/ui-docs/stories/Primitives/Tooltip.stories.tsx b/web/apps/ui-docs/stories/Primitives/Tooltip.stories.tsx new file mode 100644 index 0000000000..27b2fb8ba1 --- /dev/null +++ b/web/apps/ui-docs/stories/Primitives/Tooltip.stories.tsx @@ -0,0 +1,37 @@ +import { Info } from "@signalco/ui-icons"; +import { Stack } from "@signalco/ui-primitives/Stack"; +import { Tooltip, TooltipTrigger, TooltipContent } from "@signalco/ui-primitives/Tooltip"; +import { Typography } from "@signalco/ui-primitives/Typography"; +import { StoryObj } from "@storybook/react"; + +export default { + component: Tooltip, + tags: ['autodocs'], + args: { + delayDuration: 0, + children: ( + <> + + + + + + Tooltip content + Example of tooltip with components as children + + + + ) + } +}; +type Story = StoryObj; + +export const Default: Story = { + decorators: [ + (Story) => ( +
+ +
+ ) + ] +}; \ No newline at end of file