import * as React from 'react';
import { Typography } from '@mui/material';

export const Title: FCWithChildren<{ text: string }> = ({ text }) => (
  <Typography
    variant="h5"
    sx={{
      mb: 3,
      fontWeight: 600,
    }}
    data-testid={text}
  >
    {text}
  </Typography>
);
