Analytics added / NewRestaurant.js added
This commit is contained in:
23
src/components/Input/ButtonSecondary.js
Normal file
23
src/components/Input/ButtonSecondary.js
Normal file
@@ -0,0 +1,23 @@
|
||||
import React from "react";
|
||||
import { withStyles } from "@material-ui/core/styles";
|
||||
import Button from "@material-ui/core/Button";
|
||||
|
||||
const StylizedButton = withStyles({
|
||||
root: {
|
||||
background: "#d68000",
|
||||
color: "#262626",
|
||||
margin: "16px 16px 16px 16px",
|
||||
padding: "8px 16px 8px 16px",
|
||||
borderColor: "white",
|
||||
"&:hover": {
|
||||
backgroundColor: "#b46c00",
|
||||
},
|
||||
},
|
||||
label: {
|
||||
textTransform: "none",
|
||||
},
|
||||
})(Button);
|
||||
|
||||
export default function ButtonSecondary(props) {
|
||||
return <StylizedButton onClick={props.onClick}>{props.text}</StylizedButton>;
|
||||
}
|
||||
Reference in New Issue
Block a user