import React, { Component } from "react"; import { withStyles } from "@material-ui/core/styles"; import Button from "@material-ui/core/Button"; const styles = theme => ({}); const ExtendButton = props => { const { children } = props; return <Button variant="contained">{children}</Button>; }; export default withStyles(styles)(ExtendButton);