mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
refactor(all): using ComponentInterface
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
import { Component, Prop } from '@stencil/core';
|
||||
import { Component, ComponentInterface, Prop } from '@stencil/core';
|
||||
|
||||
import { Color, Config, Mode } from '../../interface';
|
||||
|
||||
@ -10,7 +10,7 @@ import { Color, Config, Mode } from '../../interface';
|
||||
},
|
||||
shadow: true
|
||||
})
|
||||
export class MenuButton {
|
||||
export class MenuButton implements ComponentInterface {
|
||||
|
||||
@Prop({ context: 'config' }) config!: Config;
|
||||
|
||||
|
Reference in New Issue
Block a user