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 ( + + + + + } + /> + ); +}