UNPKG

@finastra/tab-bar

Version:

TabBar Web Component

25 lines 789 B
import { __decorate } from "tslib"; import { customElement, property } from 'lit/decorators.js'; import { TabBarBase } from '@material/mwc-tab-bar/mwc-tab-bar-base'; import { styles } from './styles.css'; /** * @attr [activeIndex=0] - Index of tab that is active. * @attr [label=''] - Text label to display in tab. * @attr [icon=''] - Material design icon name to display. * @attr [seperator='false']- Add dividers between tabs */ let TabBar = class TabBar extends TabBarBase { constructor() { super(); this.seperator = false; } }; TabBar.styles = styles; __decorate([ property({ type: Boolean }) ], TabBar.prototype, "seperator", void 0); TabBar = __decorate([ customElement('fds-tab-bar') ], TabBar); export { TabBar }; //# sourceMappingURL=tab-bar.js.map