UNPKG

mbio-ui

Version:

Web components library containing lightweight, ready-to-use and framework-agnostic User Interface elements.

25 lines (24 loc) 1.15 kB
import { LitElement } from 'lit'; import '../icon'; import '../text'; /** * @prop {String} label - If set, defines the text label. * @prop {String} icon - If set, defines the icon shown above the label (if set). * @prop {Boolean} active - If set to true, a highlight style gets applied. Only one item can be active at a time. * @prop {Boolean} disabled - If set to true, disables mouse clicks and the style gets updated. * @prop {'horizontal'|'vertical'} orientation - Defines the orientation of the component. Possible values are `horizontal` and `vertical`. * * @slot - The main content area. If used, replaces the label and icon elements. */ export declare class mbioTabItem extends LitElement { label: string | undefined; icon: string | undefined; active: boolean | undefined; disabled: boolean | undefined; orientation: 'horizontal' | 'vertical'; static get styles(): import("lit").CSSResultGroup[]; render(): import("lit-html").TemplateResult<1>; attributeChangedCallback(name: string, oldval: string, newval: string): void; connectedCallback(): void; handleActive(): void; }