ConfirmationCard
Notes
Wraps provided children in a styled box that supports one or two call to action buttons. This is not a modal dialog, but rather is intended to rendered inline with other content.
Props
- buttonContainerClassName
string
Class applied to the container of the buttons
- caretPosition
oneOf('left', 'right')
['left']
If
showCaret
is true, the position of the caret. Defaults to left - children
any
The content that will appear in the body of the Confirmation Card
- className
string
- primaryCTAProps
object
Props to pass through to a
Button
- secondaryCTAProps
object
Props to pass through to a
Button
- shouldHaveFocus
bool
[false]
Sets focus to the Confirmation Card when displayed
- showCaret
bool
[false]
Shows a caret on the bottom of the Confirmation Card.