fix table headers

This commit is contained in:
Eduardo Quiros 2022-08-29 00:06:27 -06:00
parent fb02a51689
commit d5c26c703d
No known key found for this signature in database
GPG Key ID: B77F36C3F12720B4
1 changed files with 19 additions and 2 deletions

View File

@ -72,6 +72,15 @@ const InvitadosComunidad = () => {
</> </>
); );
const headerTenant = (
<>
<p>
{' '}
<FontAwesomeIcon icon={faUserAlt} style={{ color: '#C08135' }} /> Inquilino
</p>
</>
);
const headerLastName = ( const headerLastName = (
<> <>
<p> <p>
@ -82,6 +91,14 @@ const InvitadosComunidad = () => {
</> </>
); );
const headerPlate = (
<p>
{' '}
<FontAwesomeIcon icon={faIdCardAlt} style={{ color: '#C08135' }} />{' '}
Placa
</p>
);
const headerDNI = ( const headerDNI = (
<p> <p>
{' '} {' '}
@ -166,7 +183,7 @@ const InvitadosComunidad = () => {
field="number_plate" field="number_plate"
header="Placa" header="Placa"
sortable sortable
header={headerDNI} header={headerPlate}
/> />
<Column <Column
field="telefono" field="telefono"
@ -190,7 +207,7 @@ const InvitadosComunidad = () => {
field="tenant_name" field="tenant_name"
header="Inquilino" header="Inquilino"
sortable sortable
header={headerName} header={headerTenant}
/> />
</DataTable> </DataTable>
</div> </div>