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

[pickers] Remove view props from the <PickersLayout /> props and use the context instead #15606

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

Conversation

flaviendelangle
Copy link
Member

@flaviendelangle flaviendelangle commented Nov 26, 2024

WIP

This is tricky for the toolbar because the <DateTimeRangePickerToolbar /> calls <DateTimePickerToolbar /> with tweaked views.
I'll see if I can refactor to remove those props or if we need to wait for a bigger refacto (in which case I'l read from the context in usePickerLayout and pass as a prop to the toolbar).

@flaviendelangle flaviendelangle added breaking change component: pickers This is the name of the generic UI component, not the React module! labels Nov 26, 2024
@flaviendelangle flaviendelangle self-assigned this Nov 26, 2024
@mui-bot
Copy link

mui-bot commented Nov 26, 2024

Deploy preview: https://deploy-preview-15606--material-ui-x.netlify.app/

Generated by 🚫 dangerJS against 6338992

@github-actions github-actions bot added the PR: out-of-date The pull request has merge conflicts and can't be merged label Nov 28, 2024
Copy link

This pull request has conflicts, please resolve those before we can evaluate the pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change component: pickers This is the name of the generic UI component, not the React module! PR: out-of-date The pull request has merge conflicts and can't be merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants