import { Meta, StoryObj } from '@storybook/react';
import * as React from 'react';
import { Button } from '@/components/ui/button';
import { useDisclosure } from '@/hooks/use-disclosure';
import {
Dialog,
DialogContent,
DialogDescription,
DialogFooter,
DialogHeader,
DialogTitle,
DialogTrigger,
} from './dialog';
const DemoDialog = () => {
const { close, open, isOpen } = useDisclosure();
const cancelButtonRef = React.useRef(null);
return (
);
};
const meta: Meta = {
component: Dialog,
};
export default meta;
type Story = StoryObj;
export const Demo: Story = {
render: () => ,
};