20 lines
493 B
TypeScript
20 lines
493 B
TypeScript
import { Button as DefaultButton, styled } from "@mui/material";
|
|
import { ButtonProps } from "@mui/material/Button";
|
|
|
|
|
|
interface Props {
|
|
backgroundColor?: string;
|
|
textColor?: string;
|
|
}
|
|
|
|
export default styled(DefaultButton)<ButtonProps & Props>(props => ({
|
|
paddingLeft: "41.5px",
|
|
paddingRight: "41.5px",
|
|
paddingTop: "9px",
|
|
paddingBottom: "9px",
|
|
borderRadius: "8px",
|
|
backgroundColor: props.backgroundColor,
|
|
color: props.textColor,
|
|
boxShadow: "none",
|
|
}));
|