@swc-uxp-wrappers/card
v2.0.0
Published
UXP wrapper of the @spectrum-web-components/card component
Downloads
9
Readme
Description
For detailed README regarding
@spectrum-web-components/card
refer this linkDetailed specification regarding
@spectrum-web-components/card
support in UXP through@swc-uxp-wrappers/card
refer this link
Usage
yarn add @swc-uxp-wrappers/card
Import the side effectful registration of <sp-card>
via:
import '@swc-uxp-wrappers/card/sp-card.js';
When looking to leverage the Card
base class as a type and/or for extension purposes, do so via:
import { Card } from '@swc-uxp-wrappers/card';
Example
<sp-card></sp-card>
Known Issues
Actions
variant is not supported