mirror of
https://github.com/iib0011/omni-tools.git
synced 2025-09-19 22:19:36 +02:00
20 lines
486 B
TypeScript
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>
|
|
);
|
|
}
|