Skip to content

Conversation

shleewhite
Copy link
Contributor

@shleewhite shleewhite commented Feb 11, 2025

📌 Summary

CodeEditor: add @copyButtonText argument
CodeBlock: add @copyButtonText argument to the CodeBlock component and @text argument to the CopyButton sub-component.

Website preview

🛠️ Detailed description

  • add new arguments
  • add tests to ensure arguments are working
  • update website content

📸 Screenshots

Screenshot 2025-02-11 at 11 58 44 AM Screenshot 2025-02-11 at 11 59 06 AM

🔗 External links

Jira ticket: HDS-4389


👀 Component checklist

💬 Please consider using conventional comments when reviewing this PR.

Copy link

vercel bot commented Feb 11, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
hds-showcase ✅ Ready (Inspect) Visit Preview Feb 11, 2025 9:29pm
hds-website ✅ Ready (Inspect) Visit Preview Feb 11, 2025 9:29pm

dchyun
dchyun previously approved these changes Feb 11, 2025
Copy link
Contributor

@dchyun dchyun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Just a couple small docs comments.

Copy link
Contributor

@KristinLBradley KristinLBradley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

@shleewhite shleewhite merged commit 109d71f into main Feb 12, 2025
14 checks passed
@shleewhite shleewhite deleted the hds-4389/copy-btn-text-arg branch February 12, 2025 14:59
@hashibot-hds hashibot-hds mentioned this pull request Feb 11, 2025
@alex-ju alex-ju added this to the [email protected] milestone Feb 27, 2025
shleewhite added a commit that referenced this pull request Mar 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs-website Content updates to the documentation website packages/components showcase
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants