[docs] Add the slots concept introduction page#13881
[docs] Add the slots concept introduction page#13881flaviendelangle merged 43 commits intomui:masterfrom
slots concept introduction page#13881Conversation
|
Deploy preview: https://deploy-preview-13881--material-ui-x.netlify.app/ Updated pages: |
| ## Slot props | ||
|
|
||
| To override default props or pass custom props to slot components, use the `slotProps` prop. | ||
| ## Custom slot props with TypeScript |
There was a problem hiding this comment.
I kept the module augmentation doc here for now because only the grid has it so it felt weird to movie it fully to the shared page.
| ], | ||
| }, | ||
| { | ||
| pathname: '/x/common-features-group', |
There was a problem hiding this comment.
Do we have other pages to move here?
It felt weird to me to put this in "Introduction", which is why I chose to create a new folder
There was a problem hiding this comment.
Maybe the loacalization. Even if it's not yet supported for chart
There was a problem hiding this comment.
Might make sense at some point indeed
I was thinking about existing pages, but for new pages it's definitely a good candidate once we have at least 3 sets of components supporting it.
|
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
d706fac to
1be9063
Compare
|
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
|
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
7dbfb6d to
4cba94a
Compare
Signed-off-by: Flavien DELANGLE <flaviendelangle@gmail.com> Co-authored-by: Andrew Cherniavskii <andrew.cherniavskii@gmail.com> Co-authored-by: Lukas Tyla <llukas.tyla@gmail.com>
Closes #13354
Doc preview
Todo
PropsFromSlotto charts and tree view