Analytics added / NewRestaurant.js added
This commit is contained in:
23
src/components/Input/ButtonPrimary.js
Normal file
23
src/components/Input/ButtonPrimary.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 StyledButton = withStyles({
|
||||
root: {
|
||||
background: "none",
|
||||
color: "white",
|
||||
border: "solid 1px white",
|
||||
margin: "16px 16px 16px 0px",
|
||||
padding: "8px 12px 8px 12px",
|
||||
"&:hover": {
|
||||
color: "white",
|
||||
},
|
||||
},
|
||||
label: {
|
||||
textTransform: "none",
|
||||
},
|
||||
})(Button);
|
||||
|
||||
export default function ButtonPrimary(props) {
|
||||
return <StyledButton>{props.text}</StyledButton>;
|
||||
}
|
||||
Reference in New Issue
Block a user