add edit button

This commit is contained in:
Eduardo Quiros 2022-08-30 04:03:47 -06:00
parent 26e65196da
commit 200863e797
No known key found for this signature in database
GPG Key ID: B77F36C3F12720B4
1 changed files with 6 additions and 0 deletions

View File

@ -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'