@cfxjs/react-ui
Version:
Modern and minimalist React UI library.
12 lines (11 loc) • 415 B
TypeScript
import { CfxUIThemesPalette } from '../styles/themes';
import { NormalTypes } from '../utils/prop-types';
declare type ButtonDropdownColors = {
color: string;
bgColor: string;
hoverBgColor: string;
hoverBorder: string;
borderLeftColor: string;
};
export declare const getColor: (palette: CfxUIThemesPalette, type: NormalTypes | undefined, disabled?: boolean) => ButtonDropdownColors;
export {};