diff --git a/docs/mac-os/title-bar.md b/docs/mac-os/title-bar.md
index 47303e53..47340915 100644
--- a/docs/mac-os/title-bar.md
+++ b/docs/mac-os/title-bar.md
@@ -15,7 +15,8 @@ title | string | Sets the title of the title bar.
transparent | bool | Make the title bar background transparent.
disableClose | bool | Disable the close button.
disableMinimize | bool | Disable the minimize button.
-disableReize | bool | Disable the resize button.
+disableResize | bool | Disable the resize button.
+disableFullscreen | bool | Disable fullscreen, will show the '+' maximize icon instead.
### Examples
diff --git a/src/TitleBar/macOs/Controls/Resize.js b/src/TitleBar/macOs/Controls/Resize.js
index 0294d432..75bb4cf9 100644
--- a/src/TitleBar/macOs/Controls/Resize.js
+++ b/src/TitleBar/macOs/Controls/Resize.js
@@ -10,7 +10,8 @@ class Resize extends Component {
static propTypes = {
isFullscreen: PropTypes.bool,
showIcon: PropTypes.bool,
- disabled: PropTypes.bool
+ disabled: PropTypes.bool,
+ disableFullscreen: PropTypes.bool,
};
componentDidMount() {
@@ -34,6 +35,7 @@ class Resize extends Component {
isWindowFocused,
showIcon,
disabled,
+ disableFullscreen,
...props
} = this.props;
@@ -53,7 +55,7 @@ class Resize extends Component {
}
let icon;
- if (this.props.isFullscreen) {
+ if (this.props.isFullscreen && !disableFullscreen) {
icon = window && window.devicePixelRatio > 1.5 ? (
);
- } else if (this.state.altKey) {
+ } else if (this.state.altKey || disableFullscreen) {
onClick = onMaximizeClick;
icon = window && window.devicePixelRatio > 1.5 ? (