Screen capture unique file names and location

Summary: Screen captures now have unique names, so they don't get overwritten. By default they are saved to the desktop, but the path can be overwritten by setting `screenCapturePath` in `~/.sonar/config.js`

Reviewed By: jknoxville

Differential Revision: D9120822

fbshipit-source-id: ab6880eac475da3839f08c6e644c16bdc8693647
This commit is contained in:
Daniel Büchele
2018-08-01 11:11:48 -07:00
committed by Facebook Github Bot
parent d2708d4982
commit 06e70a1555
2 changed files with 46 additions and 33 deletions

View File

@@ -163,7 +163,7 @@ type Props = {
/**
* onClick handler.
*/
onClick?: (event: SyntheticMouseEvent<>) => void,
onClick?: (event: SyntheticMouseEvent<>) => any,
/**
* Whether this button is disabled.
*/