Skip to content

Commit

Permalink
Add theme propType to ItemTableAppBar
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Campbell committed Sep 20, 2020
1 parent ba98c45 commit 2456f83
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/components/ItemTableAppBar/ItemTableAppBar.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react";
import PropTypes from 'prop-types'
import PropTypes from 'prop-types';
import {makeStyles, Tooltip, Typography, AppBar, Toolbar, IconButton, Zoom} from "@material-ui/core"
import DarkModeIcon from '@material-ui/icons/Brightness4';
import LightModeIcon from '@material-ui/icons/Brightness7';
Expand Down Expand Up @@ -48,7 +48,9 @@ ItemTableAppBar.propTypes = {
/** Function to toggle darkMode. */
"setDarkMode": PropTypes.func.isRequired,
/** State variable for darkMode */
"darkMode": PropTypes.bool.isRequired
"darkMode": PropTypes.bool.isRequired,
/** The webqueue2 MUI theme. */
"theme": PropTypes.object.isRequired
};

ItemTableAppBar.defaultProps = {
Expand Down

0 comments on commit 2456f83

Please sign in to comment.