@swc-uxp-wrappers/avatar
v2.0.0
Published
UXP wrapper of the @spectrum-web-components/avatar component
Readme
Description
For detailed README regarding
@spectrum-web-components/avatarrefer this linkDetailed specification regarding
@spectrum-web-components/avatarsupport in UXP through@swc-uxp-wrappers/avatarrefer this link
Usage
yarn add @swc-uxp-wrappers/avatarImport 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>