Skip to content

Commit

Permalink
[docs] fix slider example
Browse files Browse the repository at this point in the history
  • Loading branch information
ioj4 authored May 11, 2024
1 parent d4a1fda commit a6b5de3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/shelter-docs/docs/ui.md
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,7 @@ If `tick` is not passed, no ticks show.
`step` is any by default.
```jsx
<Slider value={val()} onChange={setVal}
<Slider value={val()} onInput={setVal}
min={0} max={10}
step={2} tick
/>
Expand Down Expand Up @@ -830,4 +830,4 @@ shelter-only:
standalone-only:
- `cleanupCss`
- `initToasts`
- `initToasts`

0 comments on commit a6b5de3

Please sign in to comment.