Files
EMS-ESP32/interface/src/components/ErrorButton.tsx
2020-07-05 18:29:08 +02:00

12 lines
317 B
TypeScript

import { Button, styled } from "@material-ui/core";
const ErrorButton = styled(Button)(({ theme }) => ({
color: theme.palette.getContrastText(theme.palette.error.main),
backgroundColor: theme.palette.error.main,
'&:hover': {
backgroundColor: theme.palette.error.dark,
}
}));
export default ErrorButton;