Added Statistics calculation
Statistics now show calculated values
This commit is contained in:
parent
fe87374e47
commit
fc0f69dacb
2147 changed files with 141321 additions and 39 deletions
27
node_modules/mui/source/styles/MuiThemeProvider.js
generated
vendored
Normal file
27
node_modules/mui/source/styles/MuiThemeProvider.js
generated
vendored
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
import {Component} from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import getMuiTheme from './getMuiTheme';
|
||||
|
||||
class MuiThemeProvider extends Component {
|
||||
|
||||
static propTypes = {
|
||||
children: PropTypes.element,
|
||||
muiTheme: PropTypes.object,
|
||||
};
|
||||
|
||||
static childContextTypes = {
|
||||
muiTheme: PropTypes.object.isRequired,
|
||||
};
|
||||
|
||||
getChildContext() {
|
||||
return {
|
||||
muiTheme: this.props.muiTheme || getMuiTheme(),
|
||||
};
|
||||
}
|
||||
|
||||
render() {
|
||||
return this.props.children;
|
||||
}
|
||||
}
|
||||
|
||||
export default MuiThemeProvider;
|
||||
Loading…
Add table
Add a link
Reference in a new issue