UNPKG

ag-grid-community

Version:

Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue

15 lines (14 loc) 931 B
import type { ColorValue } from './theme-types'; export declare const kebabCase: (str: string) => string; export declare const paramToVariableName: (paramName: string) => string; export declare const paramToVariableExpression: (paramName: string) => string; export declare const clamp: (value: number, min: number, max: number) => number; export declare const logErrorMessage: (message: unknown, error?: unknown) => void; export declare const memoize: <R, A = void>(fn: (arg: A) => R) => (arg: A) => R; export declare const accentMix: (mix: number) => ColorValue; export declare const foregroundMix: (mix: number) => ColorValue; export declare const foregroundBackgroundMix: (mix: number) => ColorValue; export declare const foregroundHeaderBackgroundMix: (mix: number) => ColorValue; export declare const backgroundColor: ColorValue; export declare const foregroundColor: ColorValue; export declare const accentColor: ColorValue;