diff --git a/core/src/components/modal/readme.md b/core/src/components/modal/readme.md index 84b029870c..0d00a71d1f 100644 --- a/core/src/components/modal/readme.md +++ b/core/src/components/modal/readme.md @@ -8,9 +8,9 @@ A Modal is a dialog that appears on top of the app's content, and must be dismis Modals can be created using a [Modal Controller](../modal-controller). They can be customized by passing modal options in the modal controller's create method. -### Passing paramaters +### Passing parameters -When a modal is created, paramaters might be passed to the newly created modal: +When a modal is created, parameters might be passed to the newly created modal: ```ts // Create a modal using MyModalComponent with some initial data @@ -83,7 +83,7 @@ export class ModalExample { ``` ```typescript -import { Component } from '@angular/core'; +import { Component, Input } from '@angular/core'; import { NavParams } from '@ionic/angular'; @Component({ diff --git a/core/src/components/modal/usage/angular.md b/core/src/components/modal/usage/angular.md index 030ebda75c..358053f321 100644 --- a/core/src/components/modal/usage/angular.md +++ b/core/src/components/modal/usage/angular.md @@ -21,7 +21,7 @@ export class ModalExample { ``` ```typescript -import { Component } from '@angular/core'; +import { Component, Input } from '@angular/core'; import { NavParams } from '@ionic/angular'; @Component({