PXD
v0.2.1-dev

useCopyClick

Provides clipboard text copying with copy-state tracking and visual feedback.

Exports

function useCopyClick(): {
  isCopied: Ref<boolean>
  copyText: (text?: string) => Promise<void>
}

Source

Source