mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
The Ionic Framework team would like to re-evaluate our approach to improving customization options when building mobile applications. We are looking at other solutions that a) make customizing an app UI easier and b) are applicable to a broader set of developers.
20 lines
421 B
TypeScript
20 lines
421 B
TypeScript
import type { ComponentInterface } from '@stencil/core';
|
|
import { Component, Host, h } from '@stencil/core';
|
|
|
|
import { getIonMode } from '../../global/ionic-global';
|
|
|
|
@Component({
|
|
tag: 'ion-thumbnail',
|
|
styleUrl: 'thumbnail.scss',
|
|
shadow: true,
|
|
})
|
|
export class Thumbnail implements ComponentInterface {
|
|
render() {
|
|
return (
|
|
<Host class={getIonMode(this)}>
|
|
<slot></slot>
|
|
</Host>
|
|
);
|
|
}
|
|
}
|