import * as React from "react"; import type { MergeElementProps } from "../typings"; interface InputStepperBaseProps { /** * Append to the classNames applied to the component so you can override or * extend the styles. */ className?: string; /** The name of the stepper. */ name?: string; /** * The value of the stepper. The DOM API casts this to a string. */ value?: number; /** * The default value. Use when the component is not controlled. */ defaultValue?: number; /** * If `true`, the stepper will fill the entire width of the parent. * @default false */ fluid?: boolean; /** * If `true`, the stepper will be disabled. * @default false */ disabled?: boolean; /** * The size of the stepper. * @default "medium" */ size?: "large" | "medium" | "small"; /** * The minimum value the stepper can hold. * @default 0 */ min?: number; /** * The maximum value the stepper can hold. * @default Infinity */ max?: number; /** The properties applied to the `input` element. */ inputProps?: Omit, "value" | "checked" | "defaultChecked" | "defaultValue" | "onChange" | "onBlur" | "onFocus">; /** * The Callback fires when the state has changed. */ onChange?: (value: number) => void; /** * The Callback fires when the add button has been clicked. */ onAdd?: (value: number) => void; /** * The Callback fires when the subtract button has been clicked. */ onSubtract?: (value: number) => void; } export declare type InputStepperProps = Omit, "defaultChecked">; declare type Component = { (props: InputStepperProps): React.ReactElement | null; propTypes?: React.WeakValidationMap | undefined; displayName?: string | undefined; }; declare const InputStepper: Component; export default InputStepper;