Skip to content

Move ClipboardIcon to CopyButton component #128

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

Closed
wants to merge 1 commit into from
Closed

Conversation

Ansub
Copy link
Member

@Ansub Ansub commented May 2, 2024

Related to #126

Moves the ClipboardIcon component from Code.tsx to CopyButton.tsx to align with the project's structure and improve modularity.

  • Removes the ClipboardIcon component definition from src/components/code/Code.tsx.
  • Adds the ClipboardIcon component definition to src/components/code/CopyButton.tsx, ensuring that the icon is directly associated with its primary use case in the copy functionality.

For more details, open the Copilot Workspace session.

Copy link

vercel bot commented May 2, 2024

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

Name Status Preview Comments Updated (UTC)
syntax-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 2, 2024 6:11pm

@Ansub Ansub closed this May 2, 2024
@Ansub Ansub self-assigned this May 4, 2024
@Ansub Ansub added the chore change that neither fixes a bug or adds a feature label May 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore change that neither fixes a bug or adds a feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant