@actinc/dls
Version:
Design Language System (DLS) for ACT & Encoura front-end projects.
11 lines • 427 B
TypeScript
/**
* Copyright (c) ACT, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import { SortObject } from "../../types";
type SortFunction<T> = (itemA: T, itemB: T) => number;
export declare function sort<T>({ sortBy, sortDirection, }: SortObject): SortFunction<T>;
export default sort;
//# sourceMappingURL=index.d.ts.map