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.propertypanebuttontype
John Nguyen edited this page Apr 22, 2021
·
2 revisions
Home > @microsoft/sp-webpart-base > PropertyPaneButtonType
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
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. |