Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Component Request: Slider #1432

Open
ChrisCosentino opened this issue Apr 7, 2022 · 0 comments
Open

Component Request: Slider #1432

ChrisCosentino opened this issue Apr 7, 2022 · 0 comments
Labels

Comments

@ChrisCosentino
Copy link

ChrisCosentino commented Apr 7, 2022

Component request to create a slider component:

PropTypes = {
   // returns the value on the slider
  onChange: PropTypes.func

  // The min and max values
  min: number
  max: number

  // 2 slider controls on the same line
  range: bool

  // Vertical or horizontal
  position: "horizontal" || "vertical"

  // interactable
  disabled: bool
}

I can make something similar to this:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants