This is UXP wrapper for `@spectrum-web-components/card` package
-
For detailed README regarding
@spectrum-web-components/card
refer this link -
Detailed specification regarding
@spectrum-web-components/card
support in UXP through@swc-uxp-wrappers/card
refer this link
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';
<sp-card></sp-card>
-
Actions
variant is not supported