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