UNPKG

radh-ui

Version:

Stencil Component Starter

23 lines (19 loc) 581 B
import { r as registerInstance, h } from './index-a9700b09.js'; const radhSeparatorCss = ".separator{width:100%;height:var(--size, 8px)}"; class Separator { constructor(hostRef) { registerInstance(this, hostRef); this.height = 'calc(var(--size, 8px) / 8)'; } get style() { return { 'background-color': this.color, height: this.height }; } render() { return h("div", { class: "separator", style: this.style }); } } Separator.style = radhSeparatorCss; export { Separator as radh_separator };