import { useState } from "react"; // components import { CreateUpdateProjectViewModal } from "components/views"; // ui import { PrimaryButton } from "components/ui"; // icons import { Plus } from "lucide-react"; export const ProjectViewsHeader = () => { const [createViewModal, setCreateViewModal] = useState(false); return ( <> setCreateViewModal(false)} />
{ const e = new KeyboardEvent("keydown", { key: "v" }); document.dispatchEvent(e); }} > Create View
); };