@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
30 lines • 779 B
TypeScript
export interface StickyColumnsProps {
visibleColumns: readonly PropertyKey[];
stickyColumnsFirst: number;
stickyColumnsLast: number;
}
export interface StickyColumnsState {
cellState: Map<PropertyKey, StickyColumnsCellState>;
wrapperState: StickyColumnsWrapperState;
}
export interface StickyColumnsCellState {
padInlineStart: boolean;
lastInsetInlineStart: boolean;
lastInsetInlineEnd: boolean;
offset: {
insetInlineStart?: number;
insetInlineEnd?: number;
};
}
export interface StickyColumnsWrapperState {
scrollPaddingInlineStart: number;
scrollPaddingInlineEnd: number;
}
export interface CellOffsets {
offsets: Map<PropertyKey, {
first: number;
last: number;
}>;
stickyWidthInlineStart: number;
stickyWidthInlineEnd: number;
}