Documentation - v19.5.0-dev
    Preparing search index...
    interface SliderProps {
        className?: string;
        color?: "info" | "primary" | "secondary";
        inputWidth?: number;
        max?: number;
        maxDigits?: number;
        min?: number;
        onChange?: (newValue: number) => void;
        showAdditionalInput?: boolean;
        step?: number;
        value: number;
    }
    Index

    Properties

    className?: string

    ClassNames

    color?: "info" | "primary" | "secondary"

    Variant of the slider

    primary
    
    inputWidth?: number

    Input size if the showAdditionalInput is true

    100
    
    max?: number

    The maximum allowed value of the slider

    100
    
    maxDigits?: number

    The maximum digits allow in the input

    min?: number

    The minimum allowed value of the slider

    0
    
    onChange?: (newValue: number) => void

    Callback function that is fired when the slider's value changed.

    showAdditionalInput?: boolean

    Whether to show an additional input

    false
    
    step?: number

    The granularity with which the slider can step through values

    1
    
    value: number

    Current value

    30