Skip to content
This repository has been archived by the owner on Oct 23, 2021. It is now read-only.

sp webpart base.propertypanetextfield

John Nguyen edited this page Apr 22, 2021 · 2 revisions

Home > @microsoft/sp-webpart-base > PropertyPaneTextField

PropertyPaneTextField() function

Warning: This API is now obsolete.

This is obsolete now. This function has been moved to @microsoft/sp-property-pane. Please consume it from there.

Helper method to create a TextField on the PropertyPane.

Signature:

export declare function PropertyPaneTextField(targetProperty: string, properties: IPropertyPaneTextFieldProps): IPropertyPaneField<IPropertyPaneTextFieldProps>;

Parameters

Parameter Type Description
targetProperty string Target property the textfield is associated to.
properties IPropertyPaneTextFieldProps Strongly typed TextField properties.

Returns:

IPropertyPaneField<IPropertyPaneTextFieldProps>

Clone this wiki locally