You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

PageDescription.tsx 416B

12345678910111213141516
  1. import { Typography } from '@mui/material';
  2. import { Box } from '@mui/system';
  3. interface PageDescriptionProps {
  4. description: string;
  5. }
  6. const PageDescription: React.FC<PageDescriptionProps> = ({ description }) => {
  7. return (
  8. <Box sx={{ ml: { xs: 2, md: 12 }, my: 3 }}>
  9. <Typography sx={{ fontSize: 20 }}>{description}</Typography>
  10. </Box>
  11. );
  12. };
  13. export default PageDescription;