mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-09 16:16:41 +08:00
refactor(all): using ComponentInterface
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
import { Component } from '@stencil/core';
|
||||
import { Component, ComponentInterface } from '@stencil/core';
|
||||
|
||||
@Component({
|
||||
tag: 'ion-avatar',
|
||||
@ -8,7 +8,7 @@ import { Component } from '@stencil/core';
|
||||
},
|
||||
shadow: true
|
||||
})
|
||||
export class Avatar {
|
||||
export class Avatar implements ComponentInterface {
|
||||
|
||||
render() {
|
||||
return <slot></slot>;
|
||||
|
||||
Reference in New Issue
Block a user