UNPKG

@geezee/react-ui

Version:

Modern and minimalist React UI library.

29 lines (28 loc) 1.06 kB
import { SelectVariants } from 'components/utils/prop-types'; import { CfxUIThemes, CfxUIThemesPalette } from 'components/styles/themes'; export interface SelectSize { height: string; fontSize: string; labelFontSize: string; } declare type optionColors = { color: string; bgColor: string; border: string; hoverColor: string; hoverBgColor: string; hoverBorder: string; }; declare type selectColors = { color: string; bgColor: string; border: string; hoverColor: string; hoverBgColor: string; hoverBorder: string; placeholderColor: string; }; export declare const getSizes: (theme: CfxUIThemes, size?: "mini" | "small" | "medium" | "large" | undefined) => SelectSize; export declare const getOptionColors: (selected: boolean, disabled: boolean | undefined, palette: CfxUIThemesPalette, isLabel?: boolean, variant?: SelectVariants) => optionColors; export declare const getSelectColors: (disabled: boolean | undefined, palette: CfxUIThemesPalette, variant?: SelectVariants) => selectColors; export {};