antd-hz
Version:
华卓科技基于 antd 5.0 定制的组件库
9 lines (8 loc) • 380 B
TypeScript
/// <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;