import { Button as MUIButton, SxProps, Theme } from '@mui/material'; import { FC, useMemo } from 'react'; import { BLACK, GREY } from '../lib/consts/DEFAULT_THEME'; const ContainedButton: FC = ({ sx, ...restProps }) => { const combinedSx = useMemo>( () => ({ backgroundColor: GREY, color: BLACK, textTransform: 'none', '&:hover': { backgroundColor: `${GREY}F0`, }, ...sx, }), [sx], ); return ; }; export default ContainedButton;