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