2.0.0 • Published 1 year ago
@swc-uxp-wrappers/swatch v2.0.0
Description
For detailed README regarding
@spectrum-web-components/swatch
refer this linkDetailed specification regarding
@spectrum-web-components/swatch
support in UXP through@swc-uxp-wrappers/swatch
refer this link
Usage
yarn add @swc-uxp-wrappers/swatch
Import the side effectful registration of <sp-swatch>
via:
import '@swc-uxp-wrappers/swatch/sp-swatch.js';
When looking to leverage the Swatch
base class as a type and/or for extension purposes, do so via:
import { Swatch } from '@swc-uxp-wrappers/swatch';
Example
<sp-swatch></sp-swatch>
2.0.0
1 year ago