Range
A range lets users choose an approximate value on a slider.Installation
| Install | yarn add @atlaskit/range |
|---|---|
| Source | Bitbucket.org, (opens new window) |
| npm | @atlaskit/range, (opens new window) |
| Bundle | unpkg.com, (opens new window) |
Props
| Description | Sets the default value if range is not set. |
|---|---|
| Type | number |
| Description | Sets whether the field range is disabled. |
|---|---|
| Type | boolean |
| Description | Sets the maximum value of the range. |
|---|---|
| Type | number |
| Description | Sets the minimum value of the range. |
|---|---|
| Type | number |
| Description | Hook to be invoked on change of the range. |
|---|---|
| Type | (value: number) => void |
| Description | Allows getting a ref to the component instance.
Once the component unmounts, React will set @see {@link https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom React Docs} |
|---|---|
| Type | string | Ref<HTMLInputElement> |
| Description | Sets the step value for the range. |
|---|---|
| Type | number |
| Description | A |
|---|---|
| Type | string |
| Description | Sets the value of the range. |
|---|---|
| Type | number |