SliderProps

Interface

The Slider component props

Inherits properties from HTMLInputElement. The type prop cannot be changed and is set as 'range' by default.

See additional props available from HTMLInputElement.

Properties

htmlSize optional

htmlSize: number

The native size attribute applied to the root input element.

innerRef optional

innerRef: Ref<HTMLInputElement>

The reference forwarded to the root input element.

invalid optional

invalid: boolean

Part of the form validation. If true, the input is considered as NOT passing the validation and its UI will be updated to reflect this state.

size optional

size: void | void

To define the size of the button. The default size will be applied if the value is undefined.

tag optional

tag: ElementType<any>

Tag name used for the root input element. The default value is input.

type optional

type: InputType

The type attribute applied to the root input element.

valid optional

valid: boolean

Part of the form validation. If true, the input is considered as passing the validation and its UI will be updated to reflect this state.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.