goobs-frontend
Version:
A comprehensive React-based libary for building modern web applications
26 lines • 877 B
TypeScript
import { default as React } from 'react';
export interface TableTheme {
container: React.CSSProperties;
table: React.CSSProperties;
header: React.CSSProperties;
cell: React.CSSProperties;
row: React.CSSProperties;
rowHoverBackgroundColor: string;
}
export interface TableStyles {
theme?: 'sacred' | 'light' | 'dark';
backgroundColor?: string;
borderColor?: string;
borderRadius?: string;
width?: string;
maxWidth?: string;
color?: string;
headerBackgroundColor?: string;
headerColor?: string;
fontFamily?: string;
cellBorderColor?: string;
}
export declare const tableThemes: Record<'light' | 'dark' | 'sacred', TableTheme>;
export declare const getTableTheme: (styles?: TableStyles) => TableTheme;
export declare const getTableStyles: (styles?: TableStyles) => TableTheme;
//# sourceMappingURL=table.d.ts.map