Sidebar and edit updates

This commit is contained in:
Darren Clarke 2023-10-16 09:20:40 +02:00
parent d73b194d1f
commit f13530f043
32 changed files with 3057 additions and 1114 deletions

View file

@ -8,13 +8,15 @@ interface ButtonProps {
text: string;
color: string;
href: string;
onClick: any;
}
export const Button: FC<ButtonProps> = ({ text, color, href }) => (
export const Button: FC<ButtonProps> = ({ text, color, href, onClick }) => (
<Link href={href} passHref>
<MUIButton
variant="contained"
disableElevation
onClick={onClick}
sx={{
fontFamily: "Poppins, sans-serif",
fontWeight: 700,