mirror of
https://github.com/status-im/react-native.git
synced 2025-01-27 09:45:04 +00:00
Update copyToClipBoard.js
Summary: Since copy to clipboard functionality is now available in Linux, the comment above `copyToClipboard` function has been updated. Closes https://github.com/facebook/react-native/pull/14773 Differential Revision: D5392372 Pulled By: hramos fbshipit-source-id: 6e2668e1a89d37f9d5707fa36b3639895cd5bffd
This commit is contained in:
parent
dfd3b22275
commit
d7f671135c
@ -17,7 +17,6 @@ const xsel = path.join(__dirname, 'external/xsel');
|
||||
fs.chmodSync(xsel, '0755');
|
||||
/**
|
||||
* Copy the content to host system clipboard.
|
||||
* This is only supported on Mac and Windows for now.
|
||||
*/
|
||||
function copyToClipBoard(content) {
|
||||
switch (process.platform) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user