Proyectos de Subversion LeadersLinked - SPA

Rev

Rev 3688 | | Comparar con el anterior | Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
3719 stevensc 1
import React from 'react';
2
import { Button } from '@mui/material';
3
 
4
import { GridItem } from '@shared/components/grid';
5
 
6
export function GroupsRequestsSentCard({ group: { name, privacy, image }, onView, onCancel }) {
7
  return (
8
    <GridItem
9
      image={image}
10
      name={name}
11
      status={privacy}
12
      renderActions={() => (
13
        <>
14
          {onView && <Button onClick={onView}>Ver grupo</Button>}
15
          {onCancel && <Button onClick={onCancel}>Cancelar solicitud</Button>}
16
        </>
17
      )}
18
    />
19
  );
20
}