This repository has been archived by the owner on Oct 23, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
sp webpart base.propertypanecheckbox
John Nguyen edited this page Apr 22, 2021
·
2 revisions
Home > @microsoft/sp-webpart-base > PropertyPaneCheckbox
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 Checkbox on the PropertyPane.
Signature:
export declare function PropertyPaneCheckbox(targetProperty: string, properties: IPropertyPaneCheckboxProps): IPropertyPaneField<IPropertyPaneCheckboxProps>;
Parameter | Type | Description |
---|---|---|
targetProperty | string | Target property the checkbox is associated to. |
properties | IPropertyPaneCheckboxProps | Strongly typed Checkbox properties. |
Returns: