UNPKG

radh-ui

Version:

Stencil Component Starter

27 lines (21 loc) 650 B
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); const index = require('./index-710e648a.js'); const radhSeparatorCss = ".separator{width:100%;height:var(--size, 8px)}"; class Separator { constructor(hostRef) { index.registerInstance(this, hostRef); this.height = 'calc(var(--size, 8px) / 8)'; } get style() { return { 'background-color': this.color, height: this.height }; } render() { return index.h("div", { class: "separator", style: this.style }); } } Separator.style = radhSeparatorCss; exports.radh_separator = Separator;