import React from 'react'; import { Typography } from '@material-ui/core'; import { withStyles } from '@material-ui/core/styles'; import styles from './styles'; class TopBar extends React.Component { render() { const { classes, size, title, text, } = this.props; if (size === 'big') { return (