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