Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

437 B
Raw Blame
import type { ReactNode } from "react";

type SectionHeaderProps = {
  title: ReactNode;
  meta?: ReactNode;
  action?: ReactNode;
};

export function SectionHeader({ title, meta, action }: SectionHeaderProps) {
  return (
    <div className="flex h-7 shrink-0 items-center gap-2">
      <h3 className="font-medium text-[13px] text-foreground">{title}</h3>
      {meta}
      <span className="flex-1" />
      {action}
    </div>
  );
}