Skip to content

Commit

Permalink
Gradient slider demo
Browse files Browse the repository at this point in the history
  • Loading branch information
mj12albert committed May 6, 2024
1 parent 198c2b1 commit 366c478
Show file tree
Hide file tree
Showing 4 changed files with 440 additions and 26 deletions.
6 changes: 3 additions & 3 deletions docs/pages/experiments/slider-controlled.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export default function App() {
>
<Slider.Track className="MySlider-track" render={<span />}>
<TrackFillSingleThumb className="MySlider-track-fill" />
<Slider.Thumb index={0} className="MySlider-thumb one" />
<Slider.Thumb className="MySlider-thumb one" />
</Slider.Track>
</Slider.Root>

Expand All @@ -70,8 +70,8 @@ export default function App() {
>
<Slider.Track className="MySlider-track" render={<span />}>
<TrackFillRange className="MySlider-track-fill" />
<Slider.Thumb index={0} className="MySlider-thumb one" />
<Slider.Thumb index={1} className="MySlider-thumb one" />
<Slider.Thumb className="MySlider-thumb one" />
<Slider.Thumb className="MySlider-thumb one" />
</Slider.Track>
</Slider.Root>
<Styles />
Expand Down
Loading

0 comments on commit 366c478

Please sign in to comment.