aspire-react-data-table
Version:
A simple to use declarative react based data table
29 lines (28 loc) • 630 B
TypeScript
import { Theme, Themes } from './types';
type ThemeMapping = {
[propertyName: string]: Theme;
};
export declare const darkTheme: {
text: {
primary: string;
secondary: string;
};
background: {
default: string;
};
context: {
background: string;
text: string;
};
divider: {
default: string;
};
action: {
button: string;
hover: string;
disabled: string;
};
};
export declare const defaultThemes: ThemeMapping;
export declare function createTheme<T>(name?: string, customTheme?: T, inherit?: Themes): Theme;
export {};