Skip to content

Conversation

@sai6855
Copy link
Contributor

@sai6855 sai6855 commented Jan 6, 2026

Copilot AI review requested due to automatic review settings January 6, 2026 10:39
@mui-bot
Copy link

mui-bot commented Jan 6, 2026

Netlify deploy preview

https://deploy-preview-47570--material-ui.netlify.app/

Bundle size report

Bundle Parsed size Gzip size
@mui/material 0B(0.00%) 0B(0.00%)
@mui/lab 0B(0.00%) 0B(0.00%)
@mui/system 0B(0.00%) 0B(0.00%)
@mui/utils 0B(0.00%) 0B(0.00%)

Details of bundle changes

Generated by 🚫 dangerJS against 9c9785e

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates Snackbar component documentation to use the modern slots API by replacing the deprecated TransitionComponent prop with slots.transition. This aligns with MUI's migration to the unified slots API across all components.

  • Migrates from deprecated TransitionComponent prop to slots.transition
  • Maintains existing functionality with custom transition components
  • Updates both JavaScript and TypeScript examples consistently

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
docs/src/pages/premium-themes/onepirate/modules/components/Snackbar.tsx Updates TypeScript premium theme Snackbar to use slots.transition
docs/src/pages/premium-themes/onepirate/modules/components/Snackbar.js Updates JavaScript premium theme Snackbar to use slots.transition
docs/src/components/action/LogoWithCopyMenu.tsx Updates logo copy menu Snackbar to use slots.transition with Slide component

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@sai6855 sai6855 added docs Improvements or additions to the documentation. type: enhancement It’s an improvement, but we can’t make up our mind whether it's a bug fix or a new feature. package: material-ui Specific to Material UI. labels Jan 6, 2026
@sai6855 sai6855 requested a review from ZeeshanTamboli January 6, 2026 11:01
@sai6855 sai6855 merged commit 0920472 into mui:master Jan 6, 2026
26 of 27 checks passed
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. package: material-ui Specific to Material UI. type: enhancement It’s an improvement, but we can’t make up our mind whether it's a bug fix or a new feature.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants