插件官网地址:https://www.npmjs.com/package/react-copy-to-clipboard
使用npm包 ‘react-copy-to-clipboard’
npm install --save react-copy-to-clipboard
引入
import {CopyToClipboard} from 'react-copy-to-clipboard';<
插件官网地址:https://www.npmjs.com/package/react-copy-to-clipboard
使用npm包 ‘react-copy-to-clipboard’
npm install --save react-copy-to-clipboard
引入
import {CopyToClipboard} from 'react-copy-to-clipboard';<