@conciergus/chat - v0.3.1
    Preparing search index...

    Interface HeaderRendererProps

    Props for custom header renderer

    interface HeaderRendererProps {
        totalParts: number;
        filteredParts: number;
        filter: string;
        category: DataPartCategory;
        sorting: { sortBy: string; direction: "asc" | "desc" };
        controls: {
            onFilterChange: (filter: string) => void;
            onCategoryChange: (category: DataPartCategory) => void;
            onSortChange: (sortBy: string, direction: "asc" | "desc") => void;
            onExportAll: () => void;
            onClearAll: () => void;
        };
    }
    Index

    Properties

    totalParts: number

    Total parts count

    filteredParts: number

    Filtered parts count

    filter: string

    Current filter

    Current category

    sorting: { sortBy: string; direction: "asc" | "desc" }

    Sorting options

    controls: {
        onFilterChange: (filter: string) => void;
        onCategoryChange: (category: DataPartCategory) => void;
        onSortChange: (sortBy: string, direction: "asc" | "desc") => void;
        onExportAll: () => void;
        onClearAll: () => void;
    }

    Control handlers