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

[docs] Improve the documentation of the picker's onChange and onAccept props #13543

Merged
merged 6 commits into from
Jul 17, 2024

Conversation

flaviendelangle
Copy link
Member

@flaviendelangle flaviendelangle commented Jun 19, 2024

Follow up on #13511

@flaviendelangle flaviendelangle added docs Improvements or additions to the documentation component: pickers This is the name of the generic UI component, not the React module! labels Jun 19, 2024
@flaviendelangle flaviendelangle self-assigned this Jun 19, 2024
@mui-bot
Copy link

mui-bot commented Jun 19, 2024

Copy link
Member

@LukasTy LukasTy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The improvement looks great! 👏
I'm just not sure about the heading structure. 🙈
Maybe we could avoid the additional 5th level nesting?

docs/data/date-pickers/lifecycle/lifecycle.md Outdated Show resolved Hide resolved
docs/data/date-pickers/lifecycle/lifecycle.md Outdated Show resolved Hide resolved
Copy link
Member

@arthurbalduini arthurbalduini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great addition 🚀

Copy link
Member

@LukasTy LukasTy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice improvement! 👍

docs/data/date-pickers/lifecycle/lifecycle.md Show resolved Hide resolved
docs/data/date-pickers/lifecycle/lifecycle.md Outdated Show resolved Hide resolved
Copy link
Member

@LukasTy LukasTy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Given that mui/material-ui#42979 has been merged, feel free to revert to using code in the headings if you think they better suit the use case.
The spacing problem will be fixed with following monorepo bump. 😉

@flaviendelangle
Copy link
Member Author

I'm fine removing the code anyway 👍

@flaviendelangle flaviendelangle merged commit b40d511 into mui:master Jul 17, 2024
17 checks passed
@flaviendelangle flaviendelangle deleted the context-doc branch July 17, 2024 12:31
DungTiger pushed a commit to DungTiger/mui-x that referenced this pull request Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: pickers This is the name of the generic UI component, not the React module! docs Improvements or additions to the documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants