@swc-uxp-wrappers/card

2.0.0 • Public • Published

Description



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

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

Package Sidebar

Install

npm i @swc-uxp-wrappers/card

Weekly Downloads

2

Version

2.0.0

License

Apache-2.0

Unpacked Size

10.8 kB

Total Files

7

Last publish

Collaborators

  • inasirhussain
  • ledzepfan
  • bhatiapankaj