@carbon/react
Version:
React components for the Carbon Design System
10 lines (9 loc) • 343 B
TypeScript
export function defaultCompareItems(itemA: string, itemB: string, { locale }: {
locale: string;
}): number;
export function defaultSortItems(items: any, { selectedItems, itemToString, compareItems, locale }: {
selectedItems?: never[] | undefined;
itemToString: any;
compareItems: any;
locale?: string | undefined;
}): any;