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] Create a new page to introduce the concept of slots and slotProps #13354

Closed
flaviendelangle opened this issue Jun 3, 2024 · 1 comment · Fixed by #13881
Closed

[docs] Create a new page to introduce the concept of slots and slotProps #13354

flaviendelangle opened this issue Jun 3, 2024 · 1 comment · Fixed by #13881
Assignees
Labels
docs Improvements or additions to the documentation

Comments

@flaviendelangle
Copy link
Member

flaviendelangle commented Jun 3, 2024

Extracted from https://mui-org.slack.com/archives/C04U3R2V9UK/p1714135691643129?thread_ts=1714088113.295129&cid=C04U3R2V9UK

Benchmark

Content

  • How to define a slot
  • How to pass slotProps
  • How to handle TypeScript (would be nice to align on some DX here eventually)
  • People should not create slots in render because it can remount the component
  • How to pass props to your custom slot (using slotProps or a context)
  • Links to a home page for slots on each set of components
  • other?

Question

  • Should this page also link to other customization topics like styleOverrides / classes management etc... Most of those topics are documented in the Material UI doc so maybe a few additional links would allow for this page to cover most of the customization spectrum.

Search keywords:

@flaviendelangle flaviendelangle added the docs Improvements or additions to the documentation label Jun 3, 2024
@flaviendelangle flaviendelangle self-assigned this Jul 18, 2024
Copy link

github-actions bot commented Sep 4, 2024

⚠️ This issue has been closed. If you have a similar problem but not exactly the same, please open a new issue.
Now, if you have additional information related to this issue or things that could help future readers, feel free to leave a comment.

@flaviendelangle: How did we do? Your experience with our support team matters to us. If you have a moment, please share your thoughts in this short Support Satisfaction survey.

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 a pull request may close this issue.

1 participant