@swc-uxp-wrappers/button

1.1.1 • Public • Published

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>

Package Sidebar

Install

npm i @swc-uxp-wrappers/button

Weekly Downloads

9

Version

1.1.1

License

Apache-2.0

Unpacked Size

14.9 kB

Total Files

18

Last publish

Collaborators

  • inasirhussain
  • ledzepfan
  • bhatiapankaj