import React from 'react' import { withKnobs, radios, text } from '../../../storybook/node_modules/@storybook/addon-knobs/dist' import { Tooltip, TooltipContent, Button, H4, Text, Box } from '../..' import StoryWrapper from '../../utils/story-wrapper' export default { title: 'DesignSystem/Atoms/Tooltip', decorators: [withKnobs] } const Direction = { right: 'right', left: 'left', top: 'top', bottom: 'bottom', } const Size = ['default', 'lg'] as const export const Default: React.FC = () => { const direction = radios('direction', Direction, Direction.top) as keyof typeof Direction const size = radios('size', Size as any, 'default') const tooltipText = text('title', 'example info') return (

Header

Some text inside the tooltip?
) }