mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
fix(demos): fix actionSheet import error
This commit is contained in:
@@ -1,13 +1,12 @@
|
||||
import {Platform, Page, ActionSheet} from 'ionic/ionic';
|
||||
import {IonicPlatform, Page, ActionSheet} from 'ionic/ionic';
|
||||
|
||||
@Page({
|
||||
templateUrl: 'actionSheet/actionSheet.html',
|
||||
})
|
||||
export class ActionSheetPage {
|
||||
|
||||
constructor(actionSheet: ActionSheet, platform: Platform) {
|
||||
constructor(actionSheet: ActionSheet, platform: IonicPlatform) {
|
||||
this.actionSheet = actionSheet;
|
||||
console.log('actionSheet', actionSheet);
|
||||
this.platform = platform;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user