-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[DataGrid] Refactor: create base Autocomplete #16390
base: master
Are you sure you want to change the base?
Conversation
const BaseAutocomplete = rootProps.slots.baseAutocomplete as React.JSXElementConstructor< | ||
AutocompleteProps<string, true, false, true> | ||
>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can't have type parameters directly on GridBaseSlots['baseAutocomplete']
, the parameters would need to be on GridBaseSlots
and that would make using that type extremely tedious.
Deploy preview: https://deploy-preview-16390--material-ui-x.netlify.app/ |
…i-x into refactor-agnostic-autocomplete
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
Part of the design-system agnostic work.
The base Autocomplete API is a subset of the material one, with minor changes (
label
,placeholder
,slotProps.textField
).