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

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

PropertyPaneButton() 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 Button on the PropertyPane.

Signature:

export declare function PropertyPaneButton(targetProperty: string, properties: IPropertyPaneButtonProps): IPropertyPaneField<IPropertyPaneButtonProps>;

Parameters

Parameter Type Description
targetProperty string Target property the Button is associated to.
properties IPropertyPaneButtonProps Strongly typed Button properties.

Returns:

IPropertyPaneField<IPropertyPaneButtonProps>

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