sp webpart base.propertypanelabel - microsoft/Viva-Connections-Extensibility-Beta GitHub Wiki

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

PropertyPaneLabel() 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 Label on the PropertyPane.

Signature:

export declare function PropertyPaneLabel(targetProperty: string, properties: IPropertyPaneLabelProps): IPropertyPaneField<IPropertyPaneLabelProps>;

Parameters

Parameter Type Description
targetProperty string Target property the label is associated to.
properties IPropertyPaneLabelProps Strongly typed Label properties.

Returns:

IPropertyPaneField<IPropertyPaneLabelProps>

⚠️ **GitHub.com Fallback** ⚠️