user-avatar

Kyle J. Roux

jstacoder

Developer Program Member

a python/javascript/php/linux guru ready to take on the world...

CasePeer
orange, CA, USA
https://jstacoder.github.io

Hi
Home

Jstacoders Profile
06 24 2019 dark mode hook2019 06 09 graphql and gatsby2019 06 13 graphql schema definition 101About linkAdd Blog
Blog
Clipboard iconCopyIconReact Hooks TasklistVanilla Redux
Commit blockCommit block list
Components
General
GridGrid2Header linksHeader logoHomeIndexMy ProfileSidebarTable notesselect-dropbox-root-foldersodebrrr

CopyIcon

By itself the CopyIcon doesnt really do much beyond looking nice.

As you can see it gives the user visual feedback via a hover color, but that is really all

To make real use of it, use its companion ClipBoardHelper

The helpers job is to handle clicks, which will call a click callback and it provides a popover and updates its text.

<ClipBoardHelper textToCopy="testing 1 2 3"/>
Home