1.0.0 • Published 3 years ago

@dcp-ui/utils.copy v1.0.0

Weekly downloads
3
License
MIT
Repository
gitlab
Last release
3 years ago

@dcp-ui/utils.copy

The useCopyText component from @dcp-ui.

desyre npm bundle size License PRs Welcome

Description

A simple hook to copy text from a given HTML element to your clipboard with copy-to-clipboard library

Installation

yarn add @dcp-ui/utils.copy react react-dom styled-components

Import

import { useCopyText } from '@dcp-ui/utils.copy'

Documentation

See the documentation or package source for more details.