1.0.0 • Published 9 months ago

@swc-uxp-wrappers/toast v1.0.0

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

Description


  • For detailed README regarding @spectrum-web-components/toast refer this link

  • Detailed specification regarding @spectrum-web-components/toast support in UXP through @swc-uxp-wrappers/toast refer this link

Usage


yarn add @swc-uxp-wrappers/toast

Import the side effectful registration of <sp-toast> via:

import '@swc-uxp-wrappers/toast/sp-toast.js';

When looking to leverage the Toast base class as a type and/or for extension purposes, do so via:

import { Toast } from '@swc-uxp-wrappers/toast';

Example


<sp-toast></sp-toast>