construct-ui
Version:
A Mithril.js UI library
15 lines (14 loc) • 470 B
TypeScript
import m from 'mithril';
import { IAttrs } from '../../_shared';
export interface ITabItemAttrs extends IAttrs {
/** Toggles active state */
active?: boolean;
/** Inner text or children */
label: m.Children;
/** Toggles loading animation */
loading?: boolean;
[htmlAttrs: string]: any;
}
export declare class TabItem implements m.ClassComponent<ITabItemAttrs> {
view({ attrs }: m.Vnode<ITabItemAttrs>): m.Vnode<any, any>;
}