Interface NumberInputProps

interface NumberInputProps {
    className?: string;
    disabled?: boolean;
    max?: number;
    min?: number;
    onValueChange: ((value) => void);
    styles?: {
        active?: Interpolation;
        disabled?: Interpolation;
        thumb?: Interpolation;
        track?: Interpolation;
    };
    value: number;
}

Properties

className?: string

optional CSS class name

disabled?: boolean

whether this input is disabled or not

max?: number

maximum value

min?: number

minimum value

onValueChange: ((value) => void)

called when value changes

Type declaration

    • (value): void
    • called when value changes

      Parameters

      • value: number

      Returns void

styles?: {
    active?: Interpolation;
    disabled?: Interpolation;
    thumb?: Interpolation;
    track?: Interpolation;
}

CSS style values for the seekbar

Type declaration

  • Optional active?: Interpolation
  • Optional disabled?: Interpolation
  • Optional thumb?: Interpolation
  • Optional track?: Interpolation
value: number

current value

Generated using TypeDoc