class Primer::Beta::ClipboardCopyButton
with components like ‘ButtonGroup`.
styled as a Primer button. It can be used wherever a button is desired, and works well
`ClipboardCopyButton` uses the `ClipboardCopy` component to copy text to the clipboard,
def initialize(**system_arguments)
-
system_arguments
(Hash
) -- The arguments accepted by <%= link_to_component(Primer::Beta::Button) %> and <%= link_to_component(Primer::Beta::ClipboardCopy) %>.
def initialize(**system_arguments) super(**system_arguments, base_button_class: ClipboardCopyBaseButton) end