"use client"; import { FC } from "react"; import Link from "next/link"; import { Button as MUIButton } from "@mui/material"; import { colors } from "../styles/theme"; interface InternalButtonProps { text: string; color?: string; kind?: "primary" | "secondary" | "destructive"; type?: string; onClick?: any; } const buttonColors = { primary: colors.mediumBlue, secondary: colors.darkMediumGray, destructive: colors.brightRed, }; const buttonHighlightColors = { primary: colors.darkBlue, secondary: colors.highlightGray, destructive: colors.mediumRed, }; export const InternalButton: FC = ({ text, color, kind, type = "button", onClick, }) => ( {text} ); interface ButtonProps { text: string; color?: string; kind?: "primary" | "secondary" | "destructive"; type?: string; href?: string; onClick?: any; } export const Button: FC = ({ text, color, type, kind, href, onClick, }) => href ? ( ) : ( );