import { __decorate } from "tslib"; import { html } from 'lit'; import { customElement } from 'lit/decorators.js'; import { MduiElement } from '@mdui/shared/base/mdui-element.js'; import { componentStyle } from '@mdui/shared/lit-styles/component-style.js'; import { listStyle } from './list-style.js'; /** * @summary 列表组件。需配合 `` 组件使用 * * ```html * * ..Subheader * ..Item 1 * ..Item 2 * * ``` * * @slot - `` 元素 */ let List = class List extends MduiElement { render() { return html ``; } }; List.styles = [componentStyle, listStyle]; List = __decorate([ customElement('mdui-list') ], List); export { List };