Added the step prop to Slider[Issue #1639] (#1643)

This commit is contained in:
Mudassir Chapra 2023-08-22 03:10:52 +05:00 committed by GitHub
parent e017f3179c
commit 0ce77c1ca9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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]