Rev 3688 | AutorÃa | Comparar con el anterior | Ultima modificación | Ver Log |
import React from 'react';
import { Button } from '@mui/material';
import { GridItem } from '@shared/components/grid';
export function GroupsRequestsSentCard({ group: { name, privacy, image }, onView, onCancel }) {
return (
<GridItem
image={image}
name={name}
status={privacy}
renderActions={() => (
<>
{onView && <Button onClick={onView}>Ver grupo</Button>}
{onCancel && <Button onClick={onCancel}>Cancelar solicitud</Button>}
</>
)}
/>
);
}