• Version 5.0.7
  • Published
  • 4.36 kB
  • 1 dependency
  • MIT license


npm i @types/react-copy-to-clipboard
yarn add @types/react-copy-to-clipboard
pnpm add @types/react-copy-to-clipboard


TypeScript definitions for react-copy-to-clipboard



class CopyToClipboard

class CopyToClipboard extends React.PureComponent<Props> {}

    class CopyToClipboard

    class CopyToClipboard extends React.PureComponent<CopyToClipboard.Props> {}


      interface Options

      interface Options {}

        property debug

        debug?: boolean | undefined;

          property format

          format?: string | undefined;

            property message

            message?: string | undefined;

              interface Props

              interface Props {}

                property children

                children?: React.ReactNode;

                  property options

                  options?: Options | undefined;

                    property text

                    text: string;

                      method onCopy

                      onCopy: (text: string, result: boolean) => void;

                        Package Files (1)

                        Dependencies (1)

                        Dev Dependencies (0)

                        No dev dependencies.

                        Peer Dependencies (0)

                        No peer dependencies.


                        To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

                        You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@types/react-copy-to-clipboard.

                        • Markdown
                        • HTML
                          <a href="https://www.jsdocs.io/package/@types/react-copy-to-clipboard"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>