import React from 'react'; import PropTypes from 'prop-types'; import { createMuiTheme, withStyles } from '@material-ui/core/styles'; import ThemePallete from 'ba-api/themePalette'; import { BarChart, Bar, XAxis, YAxis, CartesianGrid, Tooltip, Legend, ResponsiveContainer } from 'recharts'; import { data1 } from './sampleData'; const theme = createMuiTheme(ThemePallete.greenNatureTheme); const color = ({ primary: theme.palette.primary.main, secondary: theme.palette.secondary.main, }); const styles = { chartFluid: { width: '100%', height: 450 } }; function BarResponsive(props) { const { classes } = props; return (
); } BarResponsive.propTypes = { classes: PropTypes.object.isRequired, }; export default withStyles(styles)(BarResponsive);