"use client" import { useState } from "react" import { MoreHorizontalIcon } from "lucide-react" import { Button } from "@/registry/new-york-v4/ui/button" import { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, } from "@/registry/new-york-v4/ui/dialog" import { DropdownMenu, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuTrigger, } from "@/registry/new-york-v4/ui/dropdown-menu" import { Field, FieldGroup, FieldLabel } from "@/registry/new-york-v4/ui/field" import { Input } from "@/registry/new-york-v4/ui/input" import { Label } from "@/registry/new-york-v4/ui/label" import { Textarea } from "@/registry/new-york-v4/ui/textarea" export default function DropdownMenuDialog() { const [showNewDialog, setShowNewDialog] = useState(false) const [showShareDialog, setShowShareDialog] = useState(false) return ( <> File Actions setShowNewDialog(true)}> New File... setShowShareDialog(true)}> Share... Download Create New File Provide a name for your new file. Click create when you're done. File Name Share File Anyone with the link will be able to view this file. Message (Optional)