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

sp webpart base.propertypanechoicegroup

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

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

PropertyPaneChoiceGroup() 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 Choice Group on the PropertyPane.

Signature:

export declare function PropertyPaneChoiceGroup(targetProperty: string, properties: IPropertyPaneChoiceGroupProps): IPropertyPaneField<IPropertyPaneChoiceGroupProps>;

Parameters

Parameter Type Description
targetProperty string Target property the choice group is associated to.
properties IPropertyPaneChoiceGroupProps Strongly typed Choice Group properties.

Returns:

IPropertyPaneField<IPropertyPaneChoiceGroupProps>

Clone this wiki locally