@spectrum-web-components/button
Version:
An `<sp-button>` represents an action a user can take. sp-buttons can be clicked or tapped to perform an action or to navigate to another page. sp-buttons in Spectrum have several variations for different uses and multiple levels of loudness for various a
15 lines (14 loc) • 502 B
JavaScript
;
import "@spectrum-web-components/button/sp-button.js";
import "@spectrum-web-components/icons-workflow/icons/sp-icon-help.js";
import { html } from "lit";
import { measureFixtureCreation } from "../../../../test/benchmark/helpers.js";
measureFixtureCreation(html`
<sp-button>Click Me</sp-button>
<sp-button disabled>Click Me</sp-button>
<sp-button>
<sp-icon-help slot="icon"></sp-icon-help>
Click Me
</sp-button>
`);
//# sourceMappingURL=test-basic.js.map