OptionalclassOptionalconfirmationOptional text overrides for the confirmation pop up.
OptionalconfirmationIf set to 'Advanced', action will require confirmation via a confirmation pop up. (default: 'None')
OptionaldataOptional data-test-id
OptionaldisabledWhether the button is disabled. If set to true, disallows interactions. (default: undefined)
OptionalerrorIf set, indicates the control has an error and will display this prop as the error message
OptionalheightButton's height (default: '50px')
OptionalidForm control id
OptionalinlineHide options not needed in the “inline” scenario
OptionallabelForm control label
Name of form control, required and must be unique from other form control names. This name should match the the name of the object corresponding to this control.
OptionalonOptionalonEvent to raise when the button is clicked. Selected state is return as a second argument
OptionalopenIf set to true, the link will open in a new tab.
OptionalpathWhere to navigate to when the action is clicked.
OptionalshowWhether the 'OFF'/'ON' text is shown (default: true)
OptionaltitleOptional title attribute for the button
OptionaltooltipA tooltip of additional information
OptionaltypeHTML button type attribute (default: 'button')
OptionalvalueCurrent value. Can be used to control state (default: false)
OptionalwidthButton's width (default: '100px')
Optional class