Skip to content

Commit 885d06a

Browse files
donroycojelbourn
authored andcommitted
docs(dialog): align text with material design (#17344)
1 parent 1efd5d3 commit 885d06a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/material/dialog/dialog.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -130,12 +130,12 @@ Several directives are available to make it easier to structure your dialog cont
130130

131131
For example:
132132
```html
133-
<h2 mat-dialog-title>Delete all</h2>
134-
<mat-dialog-content>Are you sure?</mat-dialog-content>
133+
<h2 mat-dialog-title>Delete all elements?</h2>
134+
<mat-dialog-content>This will delete all elements that are currently on this page and cannot be undone.</mat-dialog-content>
135135
<mat-dialog-actions>
136-
<button mat-button mat-dialog-close>No</button>
136+
<button mat-button mat-dialog-close>Cancel</button>
137137
<!-- The mat-dialog-close directive optionally accepts a value as a result for the dialog. -->
138-
<button mat-button [mat-dialog-close]="true">Yes</button>
138+
<button mat-button [mat-dialog-close]="true">Delete</button>
139139
</mat-dialog-actions>
140140
```
141141

0 commit comments

Comments
 (0)