"use client"; import { FC } from "react"; import Link from "next/link"; import { Button as MUIButton } from "@mui/material"; import { useLeafcutterContext } from "./LeafcutterProvider"; interface ButtonProps { text: string; color: string; href: string; } export const Button: FC = ({ text, color, href }) => { const { colors: { white, almostBlack }, } = useLeafcutterContext(); return ( {text} ); };