export interface ISliderProps { /** * ID to pass to input field. * @default random string */ id?: string; /** * The minimum value. like min on regular input type range */ min: number; /** * The maximum value. like max on regular input type range */ max: number; /** * The initial value of the slider * @default min */ startValue?: number; /** * step value * @default 1 */ step?: number; /** * Function to run on value change */ onValueChange?: (value: number) => any; /** * Labels */ axisMarkers?: () => AxisMarkerLabel[]; /** * The labels to add to the slider. Assumes step as whole number. */ axisMakerLabels?: { value: number; label: string; }[]; /** * Show axis numbers or not * @default false */ showAxisNumbers?: boolean; /** * If the field is valid. Used for controlling aria tags on input * @default true */ isValid?: boolean; /** * The id to the error message. To be used in aria-describedby attribute on input. */ errorMessageId?: string; /** * Any additional props are passed through to the underlying element. */ [key: string]: any; } export declare type AxisMarkerLabel = { value: number; label: string; percent?: number; }; export default ISliderProps;