@chief-editor/ui
Version:
UI Component for chief editor
12 lines (11 loc) • 576 B
TypeScript
import { IHSL, ISL } from '@rc-hooks/color';
import { UnionOmit } from '@co-hooks/util';
import React from 'react';
import { IColorSliderProps } from './components/ColorSlider';
export interface ISaturation {
changeOnEnd?: boolean;
hsl: IHSL;
onSLChange: (sl: ISL) => void;
}
export declare type ISaturationProps = UnionOmit<ISaturation, IColorSliderProps>;
export declare const Saturation: React.MemoExoticComponent<(props: UnionOmit<ISaturation, UnionOmit<import("./components/ColorSlider").IColorSlider, React.HTMLAttributes<HTMLDivElement>>>) => JSX.Element>;