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

[mui-material][Slider] Narrow onChange value type #44777

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

good-jinu
Copy link

  • Change value and onChange value param type from number | number[] to generic Value

Related to #37854
Inspired by #38753


What's different from PR #38753

  • Removed component field from SliderType -> props
  • No work was done on the code snippets in the docs.
  • Solved every typescript error (not really sure but as far as I tested, it worked)

- Change value and onChange value param type from `number | number[]` to generic `Value`
@mui-bot
Copy link

mui-bot commented Dec 15, 2024

Netlify deploy preview

https://deploy-preview-44777--material-ui.netlify.app/

Bundle size report

No bundle size changes (Toolpad)
No bundle size changes

Generated by 🚫 dangerJS against 03024f7

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

Successfully merging this pull request may close these issues.

2 participants