import { Box, Grid, Stack, Typography } from '@mui/material'; import ExampleCard from './ExampleCard'; import React from 'react'; import { GetGroupsType } from '@components/options/ToolOptions'; export interface ExampleCardProps { title: string; description: string; sampleText: string; sampleResult: string; requiredOptions: T; changeInputResult: (input: string, result: string) => void; getGroups: GetGroupsType; } interface ExampleProps { title: string; subtitle: string; exampleCards: ExampleCardProps[]; getGroups: GetGroupsType; changeInputResult: (input: string, result: string) => void; } export default function Examples({ title, subtitle, exampleCards, getGroups, changeInputResult }: ExampleProps) { return ( {title} {subtitle} {exampleCards.map((card, index) => ( ))} ); }