welcome-ui
Version:
Customizable design system with react • styled-components • styled-system and ariakit.
18 lines (17 loc) • 542 B
TypeScript
import { CreateWuiProps } from '../System';
import { SliderOptions } from './index';
export declare const thumbWidth = 20;
export type Range = {
max: number;
min: number;
};
export interface RangeOptions extends Omit<SliderOptions, 'onChange' | 'type' | 'value'> {
onChange: (value: Range) => void;
type?: 'fields' | 'inline';
value: Range;
}
export type RangeProps = CreateWuiProps<'div', RangeOptions>;
/**
* @name Slider.Range
*/
export declare const Range: import('../System').CreateWuiComponent<"div", RangeProps>;