import { Meta, StoryObj } from '@storybook/react' import React from 'react' import StoryWrapper from '../../utils/story-wrapper.jsx' import { Box, Button, H4, Text } from '../index.js' import { Tooltip, TooltipContent } from './index.js' const Direction = { right: 'right', left: 'left', top: 'top', bottom: 'bottom', } as const const Size = ['default', 'lg'] as const export const Default: StoryObj = { render: (args) => (

Header

Some text inside the tooltip?
), } const meta: Meta = { title: 'DesignSystem/Atoms/Tooltip', component: Tooltip, args: { direction: Direction.top, size: Size[0], title: 'Example info', }, argTypes: { direction: { options: Object.values(Direction), control: { type: 'select' } }, size: { options: Size, control: { type: 'select' } }, title: { control: { type: 'text' } }, }, } export default meta