import { FC } from 'react'; import './style'; interface IProps { /** * @description If disable the input */ disabled?: boolean; /** * @description The min value */ min?: number; /** * @description The max value */ max?: number; /** * @description Weather it is preview mode */ preview?: boolean; /** * @description Handle preview format */ previewFormatter?: (value: number) => React.ReactElement; /** * @description The current value */ value?: number; /** * @description The callback triggered when the value is changed */ onChange?: (value: any) => void; /** * @description The initial value */ defaultValue?: number; } declare const SwitchNumber: FC; export default SwitchNumber;