Skip to content

Commit c71c411

Browse files
committed
correct api migration
1 parent 499ddd8 commit c71c411

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/data/material/migration/upgrade-to-v9/upgrade-to-v9.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ Use the `slots` and `slotProps` props instead:
573573

574574
```diff
575575
<Badge
576-
- components={{ root: CustomRoot, badge: CustomBadge }}
576+
- components={{ Root: CustomRoot, Badge: CustomBadge }}
577577
- componentsProps={{ root: { className: 'my-root' }, badge: { className: 'my-badge' } }}
578578
+ slots={{ root: CustomRoot, badge: CustomBadge }}
579579
+ slotProps={{ root: { className: 'my-root' }, badge: { className: 'my-badge' } }}

0 commit comments

Comments
 (0)