sp webpart base.propertypanebuttontype - microsoft/Viva-Connections-Extensibility-Beta GitHub Wiki
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. |