import { FluentComponent } from '../core/fluent-component' import { createUniversalComponent } from '../core/component-factory' class FluentChipInternal extends FluentComponent { static tag = 'fluent-chip' static override get observedAttributes() { return ['variant'] } render() { const variant = this.getAttribute('variant') || 'neutral' this.shadowRootRef.innerHTML = ` ` } } export const FluentChip = createUniversalComponent({ tag: 'fluent-chip', class: FluentChipInternal }) if (typeof window !== 'undefined') { if (!customElements.get(FluentChipInternal.tag)) { customElements.define(FluentChipInternal.tag, FluentChipInternal) } }