Previews

1
2
3
render(Primer::Beta::ClipboardCopyButton.new(id: "clipboard-button", aria: { label: "Copy" }, value: "Text to copy")) do |button|
button.with_tooltip(text: "Copy some text")
end