'use client' import * as React from 'react' import { Button, Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerTitle, DrawerTrigger, Input, Label, } from 'ui' import { useMediaQuery } from '@/hooks/use-media-query' import { cn } from '@/lib/utils' export default function DrawerDialogDemo() { const [open, setOpen] = React.useState(false) const isDesktop = useMediaQuery('(min-width: 768px)') if (isDesktop) { return ( Edit profile Make changes to your profile here. Click save when you are done. ) } return ( Edit profile Make changes to your profile here. Click save when you are done. ) } function ProfileForm({ className }: React.ComponentProps<'form'>) { return (
) }