Proyectos de Subversion LeadersLinked - SPA

Rev

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

Rev 1847 Rev 1848
Línea 1... Línea 1...
1
import React from 'react'
1
import React from 'react'
2
import { 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 WidgetWrapper from '../widgets/WidgetLayout'
5
 
5
 
6
const ProfileWidget = ({ title = '', action = null, children }) => {
6
const ProfileWidget = ({ title = '', action = null, children }) => {
-
 
7
  return (
-
 
8
    <WidgetWrapper>
7
  return (
9
      <CardHeader
-
 
10
        title={title}
-
 
11
        action={action}
-
 
12
        sx={{ paddingBottom: 0 }}
8
    <WidgetWrapper>
13
        titleTypographyProps={{
-
 
14
          variant: 'h2'
-
 
15
        }}
9
      <CardHeader title={title} action={action} />
16
      />
10
      {children}
17
      <CardContent>{children}</CardContent>
11
    </WidgetWrapper>
18
    </WidgetWrapper>
Línea 12... Línea 19...
12
  )
19
  )