interface FilterGroup {
    filterGroups?: FilterGroup[];
    filters?: (Filter & {
        size?: "full" | "half";
    })[];
    label: string | ((t) => string);
    limit?: number;
    subtitle?: string | ((t) => string);
    value: string;
}

Properties

filterGroups?: FilterGroup[]

Subgroups to display in this group of items. Cannot be used with filters

filters?: (Filter & {
    size?: "full" | "half";
})[]

Filters to display in this group of items. Cannot be used with filterGroups

label: string | ((t) => string)

Display label for this group

Type declaration

    • (t): string
    • Parameters

      Returns string

limit?: number

Max items that can be selected in this group

subtitle?: string | ((t) => string)

Display subtitle for this group

Type declaration

    • (t): string
    • Parameters

      Returns string

value: string

Internal value for groups

Generated using TypeDoc