Skip to content

Commit 4a36cf6

Browse files
tonybaroneeejosephperrott
authored andcommitted
chore(menu): fix incorrect docs example (#10077)
1 parent fe49345 commit 4a36cf6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/menu/menu.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ with a different set of data, depending on the trigger that opened it:
118118

119119
```html
120120
<mat-menu #appMenu="matMenu">
121-
<ng-template matMenuContent let-user="user">
121+
<ng-template matMenuContent let-name="name">
122122
<button mat-menu-item>Settings</button>
123123
<button mat-menu-item>Log off {{name}}</button>
124124
</ng-template>

0 commit comments

Comments
 (0)