Files
omni-tools/src/components/ToolInfo.tsx
Ibrahima G. Coulibaly 3f00335ade feat: playwright
2024-06-26 08:59:18 +01:00

20 lines
486 B
TypeScript

import { Box, Stack, Typography } from '@mui/material';
interface ExampleProps {
title: string;
description: string;
}
export default function ToolInfo({ title, description }: ExampleProps) {
return (
<Stack direction={'row'} alignItems={'center'} spacing={2} mt={4}>
<Box>
<Typography mb={2} fontSize={30} color={'primary'}>
{title}
</Typography>
<Typography fontSize={20}>{description}</Typography>
</Box>
</Stack>
);
}