/** * @file dashboard/column/ColumnHeader.tsx * @description Component rendering the column header with title, color indicator, item count, and add button. */ "use client"; import { Plus } from "lucide-react"; /** * Renders the header section of a column, displaying a color-coded status indicator, * the column name, the total task count badge, and a button to add new tasks. * * @param {Object} props - The component props. * @param {string} props.title - The title of the column. * @param {string} [props.color] - Tailwind CSS color class for the status indicator dot. * @param {number} props.count - The number of tasks currently inside this column. * @returns {JSX.Element} The rendered column header component. */ export default function ColumnHeader({ title, color = "bg-primary", count, }: { title: string; color?: string; count: number; }) { return (