@yarcl/react
    Preparing search index...

    Variable SliderConst

    Slider: <V extends SliderValue = number>(props: SliderProps<V>) => Element & {
        Range: (props: SliderRangeProps) => Element;
    } = ...

    Picks a number, or a range with two thumbs, by dragging along a track. Use Slider.Range for an explicitly range-only API.

    Type Declaration

      • <V extends SliderValue = number>(props: SliderProps<V>): Element
      • Picks a number, or a range with two thumbs, by dragging along a track. Each thumb has role="slider" and supports the arrow keys, Home, End, PageUp and PageDown. Shares the size scale with the other controls. Works inside a Field; outside one, give it an aria-label.

        Type Parameters

        Parameters

        Returns Element

        <Field label="Volume">
        <Slider defaultValue={40} />
        </Field>