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

[Input] Improve type checking for inputProps #12591

Merged

Conversation

eps1lon
Copy link
Member

@eps1lon eps1lon commented Aug 20, 2018

Enables type checking for inputProps as well as autocompletion for props of input elements.

Same approach is used in https://github.com/mui-org/material-ui/blob/905a96119e474731b8e7add6320d3484377bf242/packages/material-ui/src/internal/SwitchBase.d.ts#L16

@oliviertassinari oliviertassinari added component: text field This is the name of the generic UI component, not the React module! typescript labels Aug 20, 2018
@oliviertassinari oliviertassinari merged commit 701da92 into mui:master Aug 20, 2018
@eps1lon eps1lon deleted the feat-input-props-autocompletion branch August 23, 2018 06:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: text field This is the name of the generic UI component, not the React module! typescript
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants