TypeScript Interfaces

The interface below represents the properties of the InputNumber component.

export interface IInputNumber extends InputHTMLAttributes<HTMLInputElement>{
    min?: number|string;
    max?: number|string;
    step?: number|string;
    value?: number|string;

    inputClasses?: string;
    inputStyles?: CSSProperties;

    onChangeCallback?: Function;
    onKeyDownCallback?: Function;

    decimalPlaces?: number;
    removeRegex?: RegExp;
}
export enum EUpdateType {
    NO_CHANGE = 0,
    UP = 1,
    DOWN = 2,
}