Skip to content

Commit 1547e25

Browse files
artolareidbarber
andauthored
docs: fix typo in Slider (#7621)
* Replace comma operator with semicolon for better readability Closes #5820 * docs: Update Slider.mdx * fix other typo --------- Co-authored-by: Reid Barber <[email protected]>
1 parent 2b563a6 commit 1547e25

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/@react-aria/slider/docs/useSlider.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ function Example() {
375375

376376
### Custom value scale
377377

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

380380
```tsx example
381381
<Slider

packages/react-aria-components/docs/Slider.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ function Example() {
313313

314314
### Custom value scale
315315

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

318318
```tsx example
319319
<MySlider

0 commit comments

Comments
 (0)