1.0.0 • Published 9 months ago

@swc-uxp-wrappers/switch v1.0.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
9 months ago

Description


  • For detailed README regarding @spectrum-web-components/switch refer this link

  • Detailed specification regarding @spectrum-web-components/switch support in UXP through @swc-uxp-wrappers/switch refer this link

Usage


yarn add @swc-uxp-wrappers/switch

Import the side effectful registration of <sp-switch> via:

import '@swc-uxp-wrappers/switch/sp-switch.js';

When looking to leverage the Switch base class as a type and/or for extension purposes, do so via:

import { Switch } from '@swc-uxp-wrappers/switch';

Example


<sp-switch></sp-switch>