agregar titulos a botones

This commit is contained in:
Eduardo Quiros 2022-08-21 20:27:04 -06:00
parent 774c1d0657
commit d517a19872
No known key found for this signature in database
GPG Key ID: B77F36C3F12720B4
1 changed files with 3 additions and 1 deletions

View File

@ -246,7 +246,7 @@ const Inquilinos = () => {
text = 'Activar Inquilino' text = 'Activar Inquilino'
} else if (rowData.status === '1') { } else if (rowData.status === '1') {
icono = 'pi pi-eye-slash' icono = 'pi pi-eye-slash'
text = 'Inactivar Inquilino' text = 'Desactivar Inquilino'
} }
return ( return (
<div className='actions'> <div className='actions'>
@ -254,6 +254,7 @@ const Inquilinos = () => {
icon="pi pi-exclamation-circle" icon="pi pi-exclamation-circle"
className="p-button-rounded p-button-info mt-2 mx-2" className="p-button-rounded p-button-info mt-2 mx-2"
onClick={() => infoTenant(rowData)} onClick={() => infoTenant(rowData)}
title="Ver Información"
/> />
<Button <Button
icon={`${icono}`} icon={`${icono}`}
@ -265,6 +266,7 @@ const Inquilinos = () => {
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'
onClick={() => confirmDeleteTenant(rowData)} onClick={() => confirmDeleteTenant(rowData)}
title='Eliminar Inquilino'
/> />
</div> </div>
) )