import { Box, Grid, Stack, Typography } from '@mui/material'; import ToolCard from './ToolCard'; import { IconifyIcon } from '@iconify/react'; import { useTranslation } from 'react-i18next'; import { FullI18nKey } from '../../i18n'; export interface ToolCardProps { title: FullI18nKey; description: FullI18nKey; link: string; icon: IconifyIcon | string; } interface AllToolsProps { title: string; toolCards: ToolCardProps[]; } export default function AllTools({ title, toolCards }: AllToolsProps) { const { t } = useTranslation(); return ( {title} {toolCards.map((card, index) => ( ))} ); }