-
-
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
[docs-infra] Remove randomized API page layout #11876
Changes from 8 commits
e73d30b
8ae2db1
2078826
b730df1
c821088
a93defd
06c6bee
f0fcdee
082e74d
ffb8007
2263e28
3d2afc3
5b2eb43
ada9bb7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
export const dataGridLayoutKeys = { | ||
slots: 'dataGrid_apiPage_slots', | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Side note: I just realized that the slots section is missing the v7 data grid docs: v6: https://mui.com/x/api/data-grid/data-grid/#slots Any ideas on how to bring it back? 😅 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, the slots are generated by detecting interfaces named You can override this behavior with Here is the uscase for date pickers: There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I added the fix |
||
props: 'dataGrid_apiPage_props', | ||
classes: 'dataGrid_apiPage_classes', | ||
} as const; |
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.
These pages are now generated by
ComponentApiBuilder
🙃