UNPKG

antd-v5

Version:

An enterprise-class UI design language and React components implementation

8 lines (7 loc) 328 B
import type { Color } from '../color'; import type { ColorValueType } from '../interface'; declare const useColorState: (defaultStateValue: ColorValueType, option: { defaultValue?: ColorValueType; value?: ColorValueType; }) => readonly [Color, React.Dispatch<React.SetStateAction<Color>>]; export default useColorState;