Skip to content

Commit d23b9f7

Browse files
b264brandyscarney
authored andcommitted
docs(toast): add import statement in usage (#12278)
Cannot use ToastController without knowing from where to import it
1 parent 4c13535 commit d23b9f7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components/toast/toast-controller.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ import { ToastOptions } from './toast-options';
3737
*
3838
* @usage
3939
* ```ts
40+
* import { ToastController } from 'ionic-angular';
41+
*
4042
* constructor(private toastCtrl: ToastController) {
4143
*
4244
* }

0 commit comments

Comments
 (0)