@awsui/components-react
Version:
On July 19th, 2022, we launched [Cloudscape Design System](https://cloudscape.design). Cloudscape is an evolution of AWS-UI. It consists of user interface guidelines, front-end components, design resources, and development tools for building intuitive, en
18 lines • 1.42 kB
TypeScript
import { InternalContainerProps } from '../container/internal';
import { TableProps } from './interfaces';
import { StickyColumnsCellState } from './sticky-columns';
export declare const applyTrackBy: <T>(trackBy: TableProps.TrackBy<T>, item: T) => any;
export declare const getItemKey: <T>(trackBy: TableProps.TrackBy<T> | undefined, item: T, index: number) => any;
export declare const getTrackableValue: <T>(trackBy: TableProps.TrackBy<T> | undefined, item: T) => any;
export declare const getColumnKey: <T>(column: TableProps.ColumnDefinition<T>, index: number) => string | number;
export declare const toContainerVariant: (variant: TableProps.Variant | undefined) => InternalContainerProps['variant'];
export declare function checkSortingState<T>(columnDefinitions: ReadonlyArray<TableProps.ColumnDefinition<T>>, sortingComparator: TableProps.SortingColumn<T>['sortingComparator']): void;
export declare function getVisibleColumnDefinitions<T>({ columnDisplay, visibleColumns, columnDefinitions, }: {
columnDisplay?: ReadonlyArray<TableProps.ColumnDisplayProperties>;
visibleColumns?: ReadonlyArray<string>;
columnDefinitions: ReadonlyArray<TableProps.ColumnDefinition<T>>;
}): readonly TableProps.ColumnDefinition<T>[];
export declare function getStickyClassNames(styles: Record<string, string>, props: StickyColumnsCellState | null): {
[x: string]: boolean;
};
//# sourceMappingURL=utils.d.ts.map