add edit button
This commit is contained in:
parent
26e65196da
commit
200863e797
|
@ -115,6 +115,12 @@ const RegistroComunicado = () => {
|
|||
const actions = (rowData) => {
|
||||
return (
|
||||
<div className="actions">
|
||||
<Button
|
||||
icon="pi pi-pencil"
|
||||
className="p-button-rounded p-button-success mt-2 mx-2"
|
||||
onClick={() => edit(rowData)}
|
||||
title="Editar"
|
||||
/>
|
||||
<Button
|
||||
icon='pi pi-trash'
|
||||
className='p-button-rounded p-button-danger mt-2 mx-2'
|
||||
|
|
Loading…
Reference in New Issue