@nova-ui/bits
Version:
SolarWinds Nova Framework
24 lines (23 loc) • 795 B
TypeScript
export type TableAlignmentOptions = "right" | "left" | "center";
export type RowHeightOptions = "default" | "compact" | "tiny";
export type ColumnTypes = "icon";
export type NonResizableColumnTypes = "icon";
export interface ClickableRowOptions {
clickableSelectors: string[];
ignoredSelectors: string[];
}
export declare enum TableSelectionMode {
None = "none",
Single = "single",
Radio = "radio",
Multi = "multi"
}
export interface ITableSelectionConfigEnabled {
enabled: true;
selectionMode: Exclude<TableSelectionMode, TableSelectionMode.None>;
}
export interface ITableSelectionConfigDisabled {
enabled: false;
selectionMode: TableSelectionMode.None;
}
export type TableSelectionConfig = ITableSelectionConfigEnabled | ITableSelectionConfigDisabled;