fictoan-react
Version:
A full-featured, designer-friendly, yet performant framework with plain-English props and focus on rapid iteration.
15 lines (14 loc) • 710 B
TypeScript
import React from "react";
import { CommonAndHTMLProps } from '../../Element/constants';
import { InputCommonProps } from '../BaseInputComponent/constants';
export interface RangeCustomProps {
min?: number;
max?: number;
step?: number;
suffix?: string;
onChange?: (value: number) => void;
}
export type RangeElementType = HTMLInputElement;
export type RangeProps = Omit<CommonAndHTMLProps<RangeElementType>, "onChange"> & InputCommonProps & RangeCustomProps;
export declare const Range: React.ForwardRefExoticComponent<Omit<CommonAndHTMLProps<HTMLInputElement>, "onChange"> & InputCommonProps & RangeCustomProps & React.RefAttributes<HTMLInputElement>>;
//# sourceMappingURL=Range.d.ts.map