From b081ca4dd09116909ccab625f10fa00fe73efda1 Mon Sep 17 00:00:00 2001 From: Matt Netkow Date: Sat, 6 Apr 2019 11:13:50 -0500 Subject: [PATCH] docs(modal): update Angular usage code (#17978) closes ionic-team/ionic-docs#620 --- core/src/components/modal/readme.md | 6 +++--- core/src/components/modal/usage/angular.md | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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({