Skip to content

Commit

Permalink
Added the step prop to Slider[Issue #1639] (#1643)
Browse files Browse the repository at this point in the history
  • Loading branch information
muddi900 authored Aug 21, 2023
1 parent e017f31 commit 0ce77c1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions reflex/components/forms/slider.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ class Slider(ChakraComponent):
# The maximum value of the slider.
max_: Var[int]

# The step in which increments/decrements have to be made
step: Var[int]

# The minimum distance between slider thumbs. Useful for preventing the thumbs from being too close together.
min_steps_between_thumbs: Var[int]

Expand Down

0 comments on commit 0ce77c1

Please sign in to comment.