Skip to content

Conversation

SukkaW
Copy link
Contributor

@SukkaW SukkaW commented Sep 18, 2022

The PR improves the UX by adding a copy success responds to user input.

The PR does 3 things:

  • Introduce a new hook useClipboard that will return a copy function, a reset function, and a copied boolean.
  • Prefer navigator.clipboard API, and then failover to the copy-to-clipboard package.
  • Introduce useClipboard to the DataKeyPair component.

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

Successfully merging this pull request may close these issues.

2 participants