PropertyPaneButtonType enum

Warning

This API is now deprecated.

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.

Remarks

We have left the original implementation here to avoid breaking the public API contract.

Fields

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.