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