mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 19:47:54 +00:00
* upgrade to 3.1.0 * VAULT-22471 upgrade to latest version * fix other selectors * fix pki tests * fix copy dropdown * rename selectors to be consistent
20 lines
560 B
Handlebars
20 lines
560 B
Handlebars
{{!
|
|
Copyright (c) HashiCorp, Inc.
|
|
SPDX-License-Identifier: BUSL-1.1
|
|
~}}
|
|
|
|
<div
|
|
class="has-padding-s has-background-gray-900 border-radius-4 is-flex-between is-flex-center"
|
|
data-test-code-snippet
|
|
...attributes
|
|
>
|
|
<code class="has-text-white is-size-7">{{@codeBlock}}</code>
|
|
<Hds::Copy::Button
|
|
class="has-text-grey-light transparent icon-grey-300"
|
|
@text="Copy"
|
|
@textToCopy={{or @clipboardCode @codeBlock}}
|
|
@isIconOnly={{@isIconOnly}}
|
|
@container={{@container}}
|
|
data-test-copy-button={{or @clipboardCode @codeBlock}}
|
|
/>
|
|
</div> |