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] Custom props order #1090

Merged
merged 2 commits into from
Dec 13, 2024
Merged

[docs] Custom props order #1090

merged 2 commits into from
Dec 13, 2024

Conversation

vladmoroz
Copy link
Contributor

After having worked in the docs for the past couple weeks, I realised that a custom semi-arbitrary order will feel much less arbitrary than alphabetic.

I'm ordering most related props together, and placing the essential props at the top (like defaultValue, value, onValueChange)

@vladmoroz vladmoroz added the docs Improvements or additions to the documentation label Dec 13, 2024
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This file defines the order of things

@mui-bot
Copy link

mui-bot commented Dec 13, 2024

Netlify deploy preview

https://deploy-preview-1090--base-ui.netlify.app/

Generated by 🚫 dangerJS against e8d7f8d

@vladmoroz vladmoroz enabled auto-merge (squash) December 13, 2024 15:37
@vladmoroz vladmoroz merged commit adf3bee into mui:master Dec 13, 2024
22 checks passed
@vladmoroz vladmoroz deleted the order-of-props branch December 13, 2024 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to the documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants