Skip to content

Commit

Permalink
docs: fix typo in Slider (#7621)
Browse files Browse the repository at this point in the history
* Replace comma operator with semicolon for better readability

Closes #5820

* docs: Update Slider.mdx

* fix other typo

---------

Co-authored-by: Reid Barber <[email protected]>
  • Loading branch information
artola and reidbarber authored Jan 16, 2025
1 parent 2b563a6 commit 1547e25
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/@react-aria/slider/docs/useSlider.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ function Example() {

### Custom value scale

By default, slider values are precentages between 0 and 100. A different scale can be used by setting the `minValue` and `maxValue` props.
By default, slider values are percentages between 0 and 100. A different scale can be used by setting the `minValue` and `maxValue` props.

```tsx example
<Slider
Expand Down
2 changes: 1 addition & 1 deletion packages/react-aria-components/docs/Slider.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ function Example() {

### Custom value scale

By default, slider values are precentages between 0 and 100. A different scale can be used by setting the `minValue` and `maxValue` props.
By default, slider values are percentages between 0 and 100. A different scale can be used by setting the `minValue` and `maxValue` props.

```tsx example
<MySlider
Expand Down

1 comment on commit 1547e25

@rspbot
Copy link

@rspbot rspbot commented on 1547e25 Jan 16, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.