UNPKG

@gf-ui/components

Version:
31 lines (27 loc) 768 B
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client'; const GfTag$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement { constructor() { super(); this.__registerHost(); this.__attachShadow(); } render() { return (h(Host, null, "tag")); } }, [1, "gf-tag"]); function defineCustomElement$1() { if (typeof customElements === "undefined") { return; } const components = ["gf-tag"]; components.forEach(tagName => { switch (tagName) { case "gf-tag": if (!customElements.get(tagName)) { customElements.define(tagName, GfTag$1); } break; } }); } const GfTag = GfTag$1; const defineCustomElement = defineCustomElement$1; export { GfTag, defineCustomElement };