mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
set iconPosition as optional
This commit is contained in:
committed by
Samuel Attard
parent
75ff5d2a45
commit
8f2064d9b7
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user