Skip to content

Commit e8c8866

Browse files
devversionjelbourn
authored andcommitted
docs: overviews should recommend individual entry-points (#16500)
Currently there are still a few overview documents that recommend importing the entry-point through the primary Material entry-point. This commit updates these overview documents to refer to the proper individual entry-points.
1 parent 53a9c27 commit e8c8866

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/material/bottom-sheet/bottom-sheet.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Afterwards you can access the injected data using the `MAT_BOTTOM_SHEET_DATA` in
3838

3939
```ts
4040
import {Component, Inject} from '@angular/core';
41-
import {MAT_BOTTOM_SHEET_DATA} from '@angular/material';
41+
import {MAT_BOTTOM_SHEET_DATA} from '@angular/material/bottom-sheet';
4242

4343
@Component({
4444
selector: 'hobbit-sheet',

src/material/dialog/dialog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ To access the data in your dialog component, you have to use the MAT_DIALOG_DATA
6565

6666
```ts
6767
import {Component, Inject} from '@angular/core';
68-
import {MAT_DIALOG_DATA} from '@angular/material';
68+
import {MAT_DIALOG_DATA} from '@angular/material/dialog';
6969

7070
@Component({
7171
selector: 'your-dialog',

src/material/snack-bar/snack-bar.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ To access the data in your component, you have to use the `MAT_SNACK_BAR_DATA` i
6262

6363
```ts
6464
import {Component, Inject} from '@angular/core';
65-
import {MAT_SNACK_BAR_DATA} from '@angular/material';
65+
import {MAT_SNACK_BAR_DATA} from '@angular/material/snack-bar';
6666

6767
@Component({
6868
selector: 'your-snack-bar',

0 commit comments

Comments
 (0)