From c8911e7e06a64b37468db1f34fd1ebded3f224a8 Mon Sep 17 00:00:00 2001 From: rajun Date: Tue, 27 Oct 2026 16:28:58 +0530 Subject: [PATCH] feat: add projects header --- .../projects/list/projects-header.tsx | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 app/components/projects/list/projects-header.tsx diff --git a/app/components/projects/list/projects-header.tsx b/app/components/projects/list/projects-header.tsx new file mode 100644 index 0000000..9bdf30e --- /dev/null +++ b/app/components/projects/list/projects-header.tsx @@ -0,0 +1,27 @@ +import { AddButton } from '~/components/ui/add-button'; +import { PageHeader } from '~/components/ui/page-header'; +import { SegmentedControl } from '~/components/ui/segmented-control'; +import { PROJECT_STATUS_OPTIONS } from '~/data/projects/constants'; +import type { ProjectStatus } from '~/types/project'; + +interface ProjectsHeaderProps { + description: string; + status: ProjectStatus; + onStatusChange: (status: ProjectStatus) => void; + onCreate: () => void; +} + +export function ProjectsHeader({ description, status, onStatusChange, onCreate }: ProjectsHeaderProps) { + return ( + + + + + } + /> + ); +}