Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: update copy-text example verbiage #1735

Merged
merged 1 commit into from
May 1, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<h3 class="t-sage-heading-6">Copy Text (inline)</h3>
<%= sage_component SageCopyText, { value: "me.ns.cloudflare.com", semibold: true } %>
<%= sage_component SageCopyText, { value: "inline copy button example", semibold: true } %>

<h3 class="t-sage-heading-6">Copy Text (block)</h3>
<%= sage_component SageCopyTextCard, {} do %>
Expand All @@ -9,10 +9,10 @@
<% end %>

<h3 class="t-sage-heading-6">Copy Button</h3>
<%= sage_component SageCopyButton, { value: "me.ns.cloudflare.com", semibold: true } %>
<%= sage_component SageCopyButton, { value: "semi-bold copy example", semibold: true } %>

<h3 class="t-sage-heading-6">Copy Button - Borderless</h3>
<%= sage_component SageCopyButton, { borderless: true, value: "me.ns.cloudflare.com", semibold: true } %>
<%= sage_component SageCopyButton, { borderless: true, value: "borderless copy", semibold: true } %>

<h3 class="t-sage-heading-6">Copy Button (fill container)</h3>
<%= sage_component SageCopyButton, { fill_container: true, value: "me.ns.cloudflare.com", semibold: true } %>
<%= sage_component SageCopyButton, { fill_container: true, value: "fill container example", semibold: true } %>