UNPKG

@neu-ui/web-components

Version:

A Neumorphic web component library built with @microsoft/fast-element and Vite using javascript

23 lines (22 loc) 652 B
import { html as t } from "@microsoft/fast-element"; const s = t` <button type="button" class="button" part="button" ?disabled="${(a) => a.disabled}" ?expand="${(a) => a.expand}" size="${(a) => a.size}" aria-disabled="${(a) => a.disabled ? "true" : "false"}" aria-label="${(a) => a.ariaLabel || ""}" aria-labelledby="${(a) => a.ariaLabelledby || ""}" aria-describedby="${(a) => a.ariaDescribedby || ""}" > <slot name="start" class="start" part="start"></slot> <slot class="content" part="content"></slot> <slot name="end" class="end" part="end"></slot> </button> `; export { s as template };