Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update slider.mdx #1

Merged
merged 1 commit into from Jul 2, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions website/docs/form/slider.mdx
Expand Up @@ -55,7 +55,7 @@ import {
### Changing the slider color

```jsx
<Slider color="pink" defaultValue={30}>
<Slider colorScheme="pink" defaultValue={30}>
<SliderTrack>
<SliderFilledTrack />
</SliderTrack>
Expand Down Expand Up @@ -103,7 +103,7 @@ you can pass all `Box` props to change it's style.
| `orientation` | `string` | | The orientation of the slider, only `horizontal` is supported for now. |
| `getAriaValueText` | `(value: number ): string` | | The callback to format the `aria-valuetext`. |
| `size` | `sm`, `md`, `lg` | | The size of the slider. |
| `color` | `string` | | The color scheme to use for the slider. Use a color key in `theme.colors` |
| `colorScheme` | `string` | | The color scheme to use for the slider. Use a color key in `theme.colors` |
| `name` | `string` | | The name of the slider component when used in a form. |
| `id` | `string` | | The id of the slider component when used in a form. |
| `children` | `React.ReactNode` | | The children of the slider. |
Expand Down