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