1.0.0 • Published 9 months ago
@swc-uxp-wrappers/switch v1.0.0
Description
For detailed README regarding
@spectrum-web-components/switch
refer this linkDetailed 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>
1.0.0
9 months ago