"use client"; import { FC } from "react"; import Image from "next/legacy/image"; import { Grid, Box } from "@mui/material"; import AboutDots from "../images/about-dots.png"; import { useLeafcutterContext } from "./LeafcutterProvider"; interface AboutFeatureProps { title: string; description: string; direction: "row" | "row-reverse"; image: any; showBackground: boolean; textColumns: number; } export const AboutFeature: FC = ({ title, description, direction, image, showBackground, textColumns, }) => { const { typography: { h2, p }, } = useLeafcutterContext(); return ( {title} {description} ); };