From 9dbbae91d2e83a442065b42b17670c6779734eed Mon Sep 17 00:00:00 2001 From: Pritesh Nandgaonkar Date: Wed, 27 Mar 2019 08:42:48 -0700 Subject: [PATCH] Provide the capability to copy crash name and reason Summary: This diff allows user to copy crash name and crash reason in the clipboard Reviewed By: jknoxville Differential Revision: D14594212 fbshipit-source-id: 88a99af70e0e1aa5950e144a9072a8d96d7d3fc3 --- src/plugins/crash_reporter/index.js | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/plugins/crash_reporter/index.js b/src/plugins/crash_reporter/index.js index e7888971a..6d00ee7b0 100644 --- a/src/plugins/crash_reporter/index.js +++ b/src/plugins/crash_reporter/index.js @@ -459,7 +459,17 @@ class HeaderRow extends Component { {title} - {value} + { + clipboard.writeText(value); + }, + }, + ]}> + {value} +