Home > @uniformdev/mesh-sdk-react > SortItemsProps

SortItemsProps type

Signature:

type SortItemsProps = {
    sortByLabel?: string;
    localeLabel?: string;
    sortOptions: FilterOptionGroup[];
    sortByValue?: string;
    onSortChange: (sort: string) => void;
    localeOptions?: InputOption[];
    onLocaleChange?: (locale: string) => void;
    localeValue?: string;
    disableSortBinding?: boolean;
};

References: FilterOptionGroup, InputOption