Optional
classOptional
confirmationOptional text overrides for the confirmation pop up.
Optional
confirmationIf set to 'Advanced', action will require confirmation via a confirmation pop up. (default: 'None')
Optional
dataOptional data-test-id
Optional
disabledWhether the button is disabled. If set to true, disallows interactions. (default: undefined)
Optional
errorIf set, indicates the control has an error and will display this prop as the error message
Optional
heightButton's height (default: '50px')
Optional
idForm control id
Optional
inlineHide options not needed in the “inline” scenario
Optional
labelForm 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.
Optional
onOptional
onEvent to raise when the button is clicked. Selected state is return as a second argument
Optional
openIf set to true, the link will open in a new tab.
Optional
pathWhere to navigate to when the action is clicked.
Optional
showONOFFTextWhether the 'OFF'/'ON' text is shown (default: true)
Optional
tooltipA tooltip of additional information
Optional
typeHTML button type attribute (default: 'button')
Optional
valueCurrent value. Can be used to control state (default: false)
Optional
widthButton's width (default: '100px')
Generated using TypeDoc
Optional class