Skip to content

Commit 1cb4c31

Browse files
EdricChan03jelbourn
authored andcommitted
docs(dialog): remove unnecessary brackets (#9207)
1 parent 6777427 commit 1cb4c31

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/dialog/dialog.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ For example:
8181
<mat-dialog-content>Are you sure?</mat-dialog-content>
8282
<mat-dialog-actions>
8383
<button mat-button mat-dialog-close>No</button>
84-
<!-- Can optionally provide a result for the closing dialog. -->
84+
<!-- The mat-dialog-close directive optionally accepts a value as a result for the dialog. -->
8585
<button mat-button [mat-dialog-close]="true">Yes</button>
8686
</mat-dialog-actions>
8787
```
@@ -124,7 +124,7 @@ the `ComponentFactory` for it.
124124
providers: [],
125125
bootstrap: [AppComponent]
126126
})
127-
export class AppModule() {}
127+
export class AppModule {}
128128
```
129129

130130
### Accessibility

0 commit comments

Comments
 (0)