1.0.0 • Published 9 months ago

@swc-uxp-wrappers/card v1.0.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
9 months ago

Description


  • 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>