[Admin UI] Adopt HDS::Copy::Snippet (#2141)

* refactor: 💡 Adopt HDS copy snippet

Adopt HDS copy snippet and delete usage of Copyable custom component
within Admin UI.
This commit is contained in:
Carlos Alcaide Corvo authored and GitHub committed 2024-02-16 02:19:43 -08:00
1 parent a1b455e5eb
commit f002e14673
48 files changed
+135 -530

No files matched your search

@@ -13,10 +13,4 @@
<DocLink @doc='auth-method' @iconSize='large' />
</h2>
<p>{{t 'resources.auth-method.description'}}</p>
<Copyable
@text={{@model.id}}
@buttonText={{t 'actions.copy-to-clipboard'}}
@acknowledgeText={{t 'states.copied'}}
>
<code>{{@model.id}}</code>
</Copyable>
<Hds::Copy::Snippet @textToCopy={{@model.id}} @color='secondary' />