import { Button } from "@/components/button";import { Drawer, DrawerBody, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerTitle, DrawerTrigger } from "@/components/drawer";
export function DrawerUsage({ copyLink }: { copyLink: () => void }) { return ( <Drawer> <DrawerTrigger render={<Button variant="outline" />}>Share</DrawerTrigger> <DrawerContent> <DrawerHeader> <DrawerTitle>Share brief</DrawerTitle> <DrawerDescription>Anyone with the link can view it.</DrawerDescription> </DrawerHeader> <DrawerBody>…</DrawerBody> <DrawerFooter> <DrawerClose render={<Button variant="outline" />}>Cancel</DrawerClose> <Button onClick={copyLink}>Copy link</Button> </DrawerFooter> </DrawerContent> </Drawer> );}