Proyectos de Subversion LeadersLinked - SPA

Rev

Rev 1849 | Ir a la última revisión | Autoría | Comparar con el anterior | Ultima modificación | Ver Log |

import React from 'react'
import { CardContent, CardHeader } from '@mui/material'

import Widget from '@components/UI/Widget'

const ProfileWidget = ({ title = '', action = null, children }) => {
  return (
    <Widget>
      <CardHeader
        title={title}
        action={action}
        sx={{ paddingBottom: 0 }}
        titleTypographyProps={{
          variant: 'h2',
          component: 'h2'
        }}
      />
      <CardContent>{children}</CardContent>
    </Widget>
  )
}

export default ProfileWidget