UNPKG

@jupyter-notebook/web-components

Version:

A component library for building extensions in Jupyter frontends.

33 lines (32 loc) 1.97 kB
import { TextArea as FoundationTextArea } from '@microsoft/fast-foundation'; import { TextArea, TextAreaAppearance } from '@microsoft/fast-components'; import { textAreaStyles as styles } from './text-area.styles'; /** * A function that returns a {@link @microsoft/fast-foundation#TextArea} registration for configuring the component with a DesignSystem. * Implements {@link @microsoft/fast-foundation#textAreaTemplate} * * * @public * @remarks * Generates HTML Element: `<jp-text-area>` * * {@link https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot/delegatesFocus | delegatesFocus} */ export declare const jpTextArea: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<{ baseName: string; baseClass: typeof FoundationTextArea; template: import("@microsoft/fast-foundation").FoundationElementTemplate<import("@microsoft/fast-element").ViewTemplate<FoundationTextArea, any>, import("@microsoft/fast-foundation").FoundationElementDefinition>; styles: import("@microsoft/fast-foundation").FoundationElementTemplate<import("@microsoft/fast-element").ElementStyles, import("@microsoft/fast-foundation").FoundationElementDefinition>; shadowOptions: { delegatesFocus: true; }; }> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<{ baseName: string; baseClass: typeof FoundationTextArea; template: import("@microsoft/fast-foundation").FoundationElementTemplate<import("@microsoft/fast-element").ViewTemplate<FoundationTextArea, any>, import("@microsoft/fast-foundation").FoundationElementDefinition>; styles: import("@microsoft/fast-foundation").FoundationElementTemplate<import("@microsoft/fast-element").ElementStyles, import("@microsoft/fast-foundation").FoundationElementDefinition>; shadowOptions: { delegatesFocus: true; }; }, typeof TextArea>; export { TextArea, TextAreaAppearance, styles as textAreaStyles };