AccordionHeaderText.jsx 647 B

12345678910111213141516171819202122232425
  1. import React from 'react';
  2. import {Box, Typography} from "@mui/material";
  3. export const AccordionHeaderText = ({columnText, content}) => {
  4. return (
  5. <Box
  6. display='flex'
  7. flexDirection='column'
  8. justifyContent='space-between'
  9. >
  10. <Typography
  11. variant='body2'
  12. color='#616161'
  13. marginBottom='20px'
  14. >
  15. {columnText || 'columnText'}
  16. </Typography>
  17. <Typography
  18. variant='body1'
  19. >
  20. {content || 'content'}
  21. </Typography>
  22. </Box>
  23. )
  24. }