UNPKG

antd

Version:

An enterprise-class UI design language and React components implementation

9 lines (8 loc) 380 B
/// <reference types="react" /> import type { Color } from '../color'; import type { ColorValueType } from '../interface'; declare const useColorState: (defaultStateValue: ColorValueType, option: { defaultValue?: ColorValueType; value?: ColorValueType; }) => readonly [Color, (color: Color) => void, import("react").MutableRefObject<Color>]; export default useColorState;