mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-24 23:01:57 +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';
|
||||
import { createColorClasses } from '../../utils/theme';
|
||||
@ -11,7 +11,7 @@ import { createColorClasses } from '../../utils/theme';
|
||||
},
|
||||
shadow: true
|
||||
})
|
||||
export class Toolbar {
|
||||
export class Toolbar implements ComponentInterface {
|
||||
|
||||
@Prop({ context: 'config' }) config!: Config;
|
||||
|
||||
|
Reference in New Issue
Block a user