|
|
@ -41,7 +41,7 @@ export default function ActionableMessage({ |
|
|
|
{(primaryAction || secondaryAction) && ( |
|
|
|
{(primaryAction || secondaryAction) && ( |
|
|
|
<div className="actionable-message__actions"> |
|
|
|
<div className="actionable-message__actions"> |
|
|
|
{primaryAction && ( |
|
|
|
{primaryAction && ( |
|
|
|
<div |
|
|
|
<button |
|
|
|
className={classnames( |
|
|
|
className={classnames( |
|
|
|
'actionable-message__action', |
|
|
|
'actionable-message__action', |
|
|
|
'actionable-message__action--primary', |
|
|
|
'actionable-message__action--primary', |
|
|
@ -49,10 +49,10 @@ export default function ActionableMessage({ |
|
|
|
onClick={primaryAction.onClick} |
|
|
|
onClick={primaryAction.onClick} |
|
|
|
> |
|
|
|
> |
|
|
|
{primaryAction.label} |
|
|
|
{primaryAction.label} |
|
|
|
</div> |
|
|
|
</button> |
|
|
|
)} |
|
|
|
)} |
|
|
|
{secondaryAction && ( |
|
|
|
{secondaryAction && ( |
|
|
|
<div |
|
|
|
<button |
|
|
|
className={classnames( |
|
|
|
className={classnames( |
|
|
|
'actionable-message__action', |
|
|
|
'actionable-message__action', |
|
|
|
'actionable-message__action--secondary', |
|
|
|
'actionable-message__action--secondary', |
|
|
@ -60,7 +60,7 @@ export default function ActionableMessage({ |
|
|
|
onClick={secondaryAction.onClick} |
|
|
|
onClick={secondaryAction.onClick} |
|
|
|
> |
|
|
|
> |
|
|
|
{secondaryAction.label} |
|
|
|
{secondaryAction.label} |
|
|
|
</div> |
|
|
|
</button> |
|
|
|
)} |
|
|
|
)} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
)} |
|
|
|
)} |
|
|
|