5.0.7 • Published 6 months ago

@types/react-copy-to-clipboard v5.0.7

Weekly downloads
128,162
License
MIT
Repository
github
Last release
6 months ago

Installation

npm install --save @types/react-copy-to-clipboard

Summary

This package contains type definitions for react-copy-to-clipboard (https://github.com/nkbt/react-copy-to-clipboard).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-copy-to-clipboard.

index.d.ts

// Type definitions for react-copy-to-clipboard 5.0
// Project: https://github.com/nkbt/react-copy-to-clipboard
// Definitions by: Meno Abels <https://github.com/mabels>
//                 Bernabe <https://github.com/BernabeFelix>
//                 Ward Delabastita <https://github.com/wdlb>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

import * as React from 'react';

export as namespace CopyToClipboard;

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

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

    interface Options {
        debug?: boolean | undefined;
        message?: string | undefined;
        format?: string | undefined; // MIME type
    }

    interface Props {
        children?: React.ReactNode;
        text: string;
        onCopy?(text: string, result: boolean): void;
        options?: Options | undefined;
    }
}

export = CopyToClipboard;

Additional Details

  • Last updated: Fri, 15 Oct 2021 19:01:23 GMT
  • Dependencies: @types/react
  • Global values: CopyToClipboard

Credits

These definitions were written by Meno Abels, Bernabe, and Ward Delabastita.

@shareid-ai/desktop@shareid-ai/sdk-mobile-desktop@dterekhova/componentsdt-ai-worksdesign-frameworkbugreplay-videoplayermdn-ui-componentscmt-navigatorprogram_leader_portal_py@shareid/authenticate_desktop@shareid/onboarding_desktop@knapsack/app-ui@everything-registry/sub-chunk-954mo-react-uigloo-jaeger-uiflowx-faas-sdkflowengine-ui-comelementalsweb-quadratec-configuratorfanz-componentsfrontend-utils-coregatsby-theme-cloudflare-docsop-walletkepler.gl-forked-ismakutlpod-space-folderpolkadot-identicon-react-nativemicro-page-reactmo-react-ui-testprometheus-react-uiquadratec-configuratorsanityseedsource-uireact-walletsynos-helenaubidy-ui-kit-tsumi-docsubcurrent@newcoin-foundation/iosdk@polkadot/ui-app@polkadot/ui-identicon@newstackdev/iosdk@enftr/cabinets@ranchuanjiang/umi4-msxf-web-template@seayona/antd-stone@moosty/lisk-explorer@mjcloud/platform-types@infinitebrahmanuniverse/nolb-_types_re@iotabots/components@sentrei/uiwasmkit-explorerwx-api-docsxingfan-components@hundred5/candidate-app@jorsek/static-portal-components@kepler.gl/components@jkol36/design-system-deprecated@9188/doso@activity-maker/component-devtools@admin-layout/ant-design-pro@admin-layout/ant-ui@adminide-stack/react-shared-components@admin-layout/components@anynines/a9s-design-system@almishev_nurbol/ui@substrate/ui-components@victoriabernard92/docs-theme@ubidy_admin/ubidy-uikit@ubidy_devs/ubidy-uikit@vsmi/api-docs@vibexyz/copy-to-clipboard@vibexyz/crop-dialog@vibexyz/uikit@vibexyz/vibe-checkbox@akropolis-web/components@zalastax/nolb-_types_re@ccdao/components@yizhou-library/core@sovryn/react-walletautoml-ui@devtools-ui/copy-to-clipboardattic-chatbot-previewbonclayoutchat-nextpycf-gatsby-themecf-gatsby-theme-newdictc
5.0.6

7 months ago

5.0.5

7 months ago

5.0.7

6 months ago

5.0.4

2 years ago

5.0.3

2 years ago

5.0.2

3 years ago

5.0.1

3 years ago

5.0.0

3 years ago

4.3.0

5 years ago

4.2.6

6 years ago

4.2.5

6 years ago

4.2.4

6 years ago

4.2.3

7 years ago

4.2.2

7 years ago

4.2.1

7 years ago

4.2.0

7 years ago