mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
20 lines
403 B
TypeScript
20 lines
403 B
TypeScript
import type { ComponentInterface } from '@stencil/core';
|
|
import { Component, Host, h } from '@stencil/core';
|
|
|
|
import { getIonMode } from '../../global/ionic-global';
|
|
|
|
@Component({
|
|
tag: 'ion-row',
|
|
styleUrl: 'row.scss',
|
|
shadow: true,
|
|
})
|
|
export class Row implements ComponentInterface {
|
|
render() {
|
|
return (
|
|
<Host class={getIonMode(this)}>
|
|
<slot></slot>
|
|
</Host>
|
|
);
|
|
}
|
|
}
|