Description
This is UXP wrapper for `@spectrum-web-components/button` package
-
For detailed README regarding @spectrum-web-components/button
refer this link
-
Detailed specification regarding @spectrum-web-components/button
support in UXP through @swc-uxp-wrappers/button
refer this link
Usage
yarn add @swc-uxp-wrappers/button
Import the side effectful registration of <sp-button>
via:
import '@swc-uxp-wrappers/button/sp-button.js';
When looking to leverage the Button
base class as a type and/or for extension purposes, do so via:
import { Button } from '@swc-uxp-wrappers/button';
Example
<sp-button></sp-button>