AccordionHeaderText.jsx 620 B

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