Merge pull request #11327 from electron/cherry/1-7-x/10540

Cherry #10540
This commit is contained in:
Charles Kerr
2017-12-04 10:43:49 -06:00
committed by GitHub

View File

@@ -11,7 +11,7 @@ Process: [Main](../tutorial/quick-start.md#main-process)
* `backgroundColor` String (optional) - Button background color in hex format,
i.e `#ABCDEF`.
* `icon` [NativeImage](native-image.md) (optional) - Button icon.
* `iconPosition` String - Can be `left`, `right` or `overlay`.
* `iconPosition` String (optional) - Can be `left`, `right` or `overlay`.
* `click` Function (optional) - Function to call when the button is clicked.
### Instance Properties