import * as React from "react" import { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectTrigger, SelectValue, } from "@/components/ui/select" import { Button } from "@/components/ui/button" import { PlusCircle } from "lucide-react" import { Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, } from "@/components/ui/dialog" import { Input } from "@/components/ui/input" import { Label } from "@/components/ui/label" export function ProjectSelect() { const [open, setOpen] = React.useState(false) const [projectName, setProjectName] = React.useState("") // This would be fetched from your backend const projects = [ { id: "1", name: "Marketing Website" }, { id: "2", name: "Mobile App" }, { id: "3", name: "Dashboard Redesign" }, ] const handleCreateProject = () => { // Handle project creation here setOpen(false) setProjectName("") } return (
Create New Project Add a new project to organize your tasks.
setProjectName(e.target.value)} placeholder="Enter project name" />
) }