material-ui
material-ui copied to clipboard
[docs] Improve the Base Usage page
https://deploy-preview-33272--material-ui.netlify.app/base/getting-started/usage/
I've gotten a better understanding of the component slots and the props that control them as I've been documenting them in #33156, so this PR adds some clarification to the Base Usage page where they're explained in detail.
Changes include:
- standardizing the "slot" terminology
- tweaking the Getting started code snippet to match the updated pattern on component pages
- clarifying that shared props do not apply to utility components
- pointing out the difference in slot casing between
componentsandcomponentsProps - suggesting that
componentsPropsandcomponentsmay be redundant for components that only have a root slot - recommending that users start with components over hooks
Generated by :no_entry_sign: dangerJS against decf5856245d85d7ed570c56e836877912b2a960