UNPKG

@cfxjs/react-ui

Version:

Modern and minimalist React UI library.

17 lines (16 loc) 627 B
import { CfxUIThemes } from '../styles/themes'; export declare type InputSize = { heightRatio: string; fontSize: string; margin: string; }; export declare const getSizes: (size?: "mini" | "small" | "medium" | "large" | undefined) => InputSize; export declare type InputColor = { color: string; backgroundColor?: string; hoverBackgroundColor?: string; hoverColor?: string; border: string; hoverBorderColor: string; }; export declare const getColors: (theme: CfxUIThemes, color?: "default" | "primary" | "success" | "warning" | "error" | undefined, solid?: boolean | undefined) => InputColor;