Skip to content

Commit

Permalink
Merge pull request #10540 from bpasero/touchbar-docs
Browse files Browse the repository at this point in the history
Docs: set iconPosition as optional
  • Loading branch information
MarshallOfSound committed Sep 18, 2017
2 parents 9cfadbe + ba5fe1d commit fa444dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/touch-bar-button.md
Expand Up @@ -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
Expand Down

0 comments on commit fa444dd

Please sign in to comment.