diff --git a/docs/data/material/migration/migrating-to-v6/migrating-to-v6.md b/docs/data/material/migration/migrating-to-v6/migrating-to-v6.md index ff7944738fbd6d..85fcc27c5ae3fd 100644 --- a/docs/data/material/migration/migrating-to-v6/migrating-to-v6.md +++ b/docs/data/material/migration/migrating-to-v6/migrating-to-v6.md @@ -119,6 +119,23 @@ This results in a reduction of the `@mui/material` package size by 2.5MB or 25% Instead, using ESM-based CDNs such as [esm.sh](https://esm.sh/) is recommended. For alternative installation methods, refer to the [CDN documentation](/material-ui/getting-started/installation/#cdn). +### Accordion + +#### children is required in slots.transition + +The children prop in components passed to either `slots.transition` or `TransitionComponent` props in the Accordion component must be required in TypeScript. + +```diff + function CustomTransition(props: { +- children?: React.ReactElement ++ children: React.ReactElement + }) { + ... + } + + +``` + ### Autocomplete #### New reason values added to onInputChange