mirror of https://github.com/status-im/consul.git
35 lines
746 B
Handlebars
35 lines
746 B
Handlebars
{{!
|
|
Copyright (c) HashiCorp, Inc.
|
|
SPDX-License-Identifier: BUSL-1.1
|
|
}}
|
|
|
|
{{yield}}
|
|
<InformedAction
|
|
class="confirmation-alert warning"
|
|
...attributes
|
|
>
|
|
<:header>
|
|
<YieldSlot @name="header">{{yield}}</YieldSlot>
|
|
</:header>
|
|
<:body>
|
|
<YieldSlot @name="body">{{yield}}</YieldSlot>
|
|
</:body>
|
|
<:actions as |Actions|>
|
|
<Actions.Action class="dangerous">
|
|
<YieldSlot @name="confirm" @params={{
|
|
block-params (component 'action'
|
|
onclick=(action @onclick)
|
|
tabindex="-1"
|
|
)
|
|
}}
|
|
>
|
|
{{yield}}
|
|
</YieldSlot>
|
|
</Actions.Action>
|
|
<Actions.Action>
|
|
<Action @for={{@name}}>
|
|
Cancel
|
|
</Action>
|
|
</Actions.Action>
|
|
</:actions>
|
|
</InformedAction> |