Description
This is UXP wrapper for `@spectrum-web-components/textfield` package
-
For detailed README regarding
@spectrum-web-components/textfield
refer this link -
Detailed specification regarding
@spectrum-web-components/textfield
support in UXP through@swc-uxp-wrappers/textfield
refer this link
Usage
yarn add @swc-uxp-wrappers/textfield
Import the side effectful registration of <sp-textfield>
via:
import '@swc-uxp-wrappers/textfield/sp-textfield.js';
When looking to leverage the Textfield
base class as a type and/or for extension purposes, do so via:
import { Textfield } from '@swc-uxp-wrappers/textfield';
Example
<sp-textfield></sp-textfield>