Proyectos de Subversion LeadersLinked - SPA

Rev

Rev 1849 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1849 Rev 3040
Línea 1... Línea 1...
1
import React from 'react'
1
import React from 'react'
2
import { CardContent, CardHeader } from '@mui/material'
2
import { CardContent, CardHeader } from '@mui/material'
Línea 3... Línea 3...
3
 
3
 
Línea 4... Línea 4...
4
import WidgetWrapper from '../widgets/WidgetLayout'
4
import Widget from '@components/UI/Widget'
5
 
5
 
6
const ProfileWidget = ({ title = '', action = null, children }) => {
6
const ProfileWidget = ({ title = '', action = null, children }) => {
7
  return (
7
  return (
8
    <WidgetWrapper>
8
    <Widget>
9
      <CardHeader
9
      <CardHeader
10
        title={title}
10
        title={title}
11
        action={action}
11
        action={action}
12
        sx={{ paddingBottom: 0 }}
12
        sx={{ paddingBottom: 0 }}
13
        titleTypographyProps={{
13
        titleTypographyProps={{
14
          variant: 'h2',
14
          variant: 'h2',
15
          component: 'h2'
15
          component: 'h2'
16
        }}
16
        }}
17
      />
17
      />
18
      <CardContent>{children}</CardContent>
18
      <CardContent>{children}</CardContent>
19
    </WidgetWrapper>
19
    </Widget>
Línea 20... Línea 20...
20
  )
20
  )