add data table to list info

This commit is contained in:
Eduardo Quiros 2022-07-17 19:20:03 -06:00
parent dacf7e2864
commit 48c271ff4c
No known key found for this signature in database
GPG Key ID: B77F36C3F12720B4
1 changed files with 18 additions and 0 deletions

View File

@ -10,4 +10,22 @@ const Inquilinos = () => {
status: '1',
}
}
return (
<div className="grid">
<div className="col-12">
<div className="card">
<h5>Inquilinos</h5>
<DataTable value={listaInquilinos} scrollable scrollHeight="400px" scrollDirection="both" className="mt-3">
<Column field="name" header="Nombre" style={{ flexGrow: 1, flexBasis: '160px' }}></Column>
<Column field="last_name" header="Apellidos" style={{ flexGrow: 1, flexBasis: '160px' }}></Column>
<Column field="dni" header="Identificación" style={{ flexGrow: 1, flexBasis: '160px' }}></Column>
<Column field="email" header="Correo electrónico" style={{ flexGrow: 1, flexBasis: '160px' }}></Column>
<Column field="phone" header="Telefóno" style={{ flexGrow: 1, flexBasis: '180px' }}></Column>
<Column field="community_id" header="Comunidad" style={{ flexGrow: 1, flexBasis: '160px' }}></Column>
</DataTable>
</div>
</div>
</div>
)
}