Files
ionic-framework/core/src/components/thumbnail/thumbnail.tsx
Liam DeBeasi b78b454e08 revert(): revert base components feature (#26692)
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.
2023-01-30 11:52:36 -05:00

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>
);
}
}