Skip to content

Commit

Permalink
[docs] Fix add column menu item demo (#9071)
Browse files Browse the repository at this point in the history
  • Loading branch information
MBilalShafi authored May 22, 2023
1 parent 0e31b45 commit c5940f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/data/data-grid/column-menu/AddNewColumnMenuGrid.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function CustomColumnMenu(props) {
{...props}
slots={{
// Add new item
ColumnMenuUserItem: CustomUserItem,
columnMenuUserItem: CustomUserItem,
}}
slotProps={{
columnMenuUserItem: {
Expand Down
2 changes: 1 addition & 1 deletion docs/data/data-grid/column-menu/AddNewColumnMenuGrid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function CustomColumnMenu(props: GridColumnMenuProps) {
{...props}
slots={{
// Add new item
ColumnMenuUserItem: CustomUserItem,
columnMenuUserItem: CustomUserItem,
}}
slotProps={{
columnMenuUserItem: {
Expand Down

0 comments on commit c5940f9

Please sign in to comment.