import Icon from "./Icon.js";
import type Tag from "./Tag.js";
export default function TagTemplate(this: Tag) {
return (
<>
{
this.interactive ?
:
{ content.call(this) }
}
>
);
}
function content(this: Tag) {
return (
<>
{this._semanticIconName &&
}
{this.tagDescription}
{this.hasText &&
}
>
);
}