import { ComponentMeta } from '@storybook/react'; import { Button, Dialog } from '@tih/ui'; import React, { useState } from 'react'; export default { title: 'Dialog', component: Dialog, argTypes: { title: { control: 'text', }, }, } as ComponentMeta; export function Basic({ children, title, }: Pick, 'children' | 'title'>) { const [isShown, setIsShown] = useState(false); return (
); }