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

Create react component for copiable text #6224

Closed
shuse2 opened this issue Mar 11, 2021 · 0 comments
Closed

Create react component for copiable text #6224

shuse2 opened this issue Mar 11, 2021 · 0 comments

Comments

@shuse2
Copy link
Member

shuse2 commented Mar 11, 2021

Description

Create component to show an text with copy icon with properties

  • onClick: () => void
  • text

It should copy the input text to the clipboard

Acceptance Criteria

  • Use Text component
  • Use Icon component
  • Icon should be displayed only on hover
  • After click, it should show Copied with checkmark icon, and remove it after 1s
  • Timeout cleanup should be handled properly

Additional Information

Related Issues: #6216

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants