Skip to content

Commit

Permalink
Add setDarkMode prop
Browse files Browse the repository at this point in the history
  • Loading branch information
campb303 committed Apr 14, 2021
1 parent e2e7652 commit af6d0a5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/AppView/AppView.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,9 @@ export default function AppView({ setDarkMode }){
);
};

AppView.propTypes = {};
AppView.propTypes = {
/** Callback to toggle dark mode. */
"setDarkMode": PropTypes.func.isRequired
};

AppView.defaultProps = {};

0 comments on commit af6d0a5

Please sign in to comment.