Files
omni-tools/src/components/ToolInfo.tsx

20 lines
486 B
TypeScript
Raw Normal View History

import { Box, Stack, Typography } from '@mui/material';
interface ExampleProps {
title: string;
description: string;
}
2024-06-26 08:59:18 +01:00
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>
);
}