UNPKG

radh-ui

Version:

Stencil Component Starter

25 lines (24 loc) 819 B
import { r as registerInstance, h } from './index-a9700b09.js'; var radhSeparatorCss = ".separator{width:100%;height:var(--size, 8px)}"; var Separator = /** @class */ (function () { function Separator(hostRef) { registerInstance(this, hostRef); this.height = 'calc(var(--size, 8px) / 8)'; } Object.defineProperty(Separator.prototype, "style", { get: function () { return { 'background-color': this.color, height: this.height }; }, enumerable: false, configurable: true }); Separator.prototype.render = function () { return h("div", { class: "separator", style: this.style }); }; return Separator; }()); Separator.style = radhSeparatorCss; export { Separator as radh_separator };