mirror of
https://github.com/electron/electron.git
synced 2026-01-10 07:58:08 -05:00
set iconPosition as optional
This commit is contained in:
@@ -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