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

sp webpart base.propertypanebuttontype

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

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

PropertyPaneButtonType enum

Warning: This API is now obsolete.

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

Enum for all the supported button types.

Signature:

export declare enum PropertyPaneButtonType

Enumeration Members

Member Value Description
Command 4 Optional actions.
Compound 3 Always used as a set with both Standard and Primary compound buttons.
Hero 2 Hero button.
Icon 5 Same usage as Command button, when real estate does not allow for icons + labels or as secondary actions within the command bar.
Normal 0 Optional completion action.
Primary 1 Preferred completion action when paired with a Standard button.
Clone this wiki locally