import { classMap } from "lit/directives/class-map.js"; import { type CSSResultGroup, html, unsafeCSS } from 'lit'; import { property } from 'lit/decorators.js'; import ZincElement from '../../internal/zinc-element'; import styles from './tile-property.scss'; /** * @summary Short summary of the component's intended use. * @documentation https://zinc.style/components/tile-property * @status experimental * @since 1.0 * * @dependency zn-example * * @event zn-event-name - Emitted as an example. * * @slot - The default slot. * @slot example - An example slot. * * @csspart base - The component's base wrapper. * * @cssproperty --example - An example CSS custom property. */ export default class ZnTileProperty extends ZincElement { static styles: CSSResultGroup = unsafeCSS(styles); @property({ attribute: 'caption', reflect: true }) caption: string; @property({ attribute: 'description', reflect: true }) description: string; @property({ attribute: 'icon', reflect: true }) icon: string; render() { return html`
${this.caption}