diff --git a/js/components/MainWindow/Minimize.js b/js/components/MainWindow/Minimize.js
new file mode 100644
index 00000000..4f9a4047
--- /dev/null
+++ b/js/components/MainWindow/Minimize.js
@@ -0,0 +1,23 @@
+import React from "react";
+import classnames from "classnames";
+
+export default class Minimize extends React.Component {
+ constructor(props) {
+ super(props);
+ this.state = { clicked: false };
+ }
+ render() {
+ return (
+
{
+ if (!this.state.clicked) {
+ this.setState({ clicked: true });
+ }
+ }}
+ title="Minimize"
+ />
+ );
+ }
+}
diff --git a/js/components/MainWindow/Shade.js b/js/components/MainWindow/Shade.js
index 7ecdb81a..4948bb58 100644
--- a/js/components/MainWindow/Shade.js
+++ b/js/components/MainWindow/Shade.js
@@ -1,11 +1,30 @@
import React from "react";
+import classnames from "classnames";
import { connect } from "react-redux";
import { toggleMainWindowShadeMode } from "../../actionCreators";
-const Shade = props => (
-
-);
+class Shade extends React.Component {
+ constructor(props) {
+ super(props);
+ this.state = { clicked: false };
+ }
+ render() {
+ return (
+
{
+ if (!this.state.clicked) {
+ this.setState({ clicked: true });
+ }
+ this.props.handleClick();
+ }}
+ title="Toggle Windowshade Mode"
+ />
+ );
+ }
+}
const mapDispatchToProps = {
handleClick: toggleMainWindowShadeMode
diff --git a/js/components/MainWindow/__snapshots__/index.test.js.snap b/js/components/MainWindow/__snapshots__/index.test.js.snap
index e5bf638d..67a799b1 100644
--- a/js/components/MainWindow/__snapshots__/index.test.js.snap
+++ b/js/components/MainWindow/__snapshots__/index.test.js.snap
@@ -36,9 +36,13 @@ exports[`MainWindow renders to snapshot 1`] = `