add name and last_name props

This commit is contained in:
Eduardo Quiros 2022-08-08 22:59:18 -06:00
parent 3cf74d6c9d
commit 226e0b81a6
No known key found for this signature in database
GPG Key ID: B77F36C3F12720B4
1 changed files with 23 additions and 1 deletions

View File

@ -15,7 +15,29 @@ class InfoDialog extends React.Component {
modal modal
className='p-fluid' className='p-fluid'
header='Información' header='Información'
></Dialog> >
<div className='container text-center'>
<div className='row my-4'>
<div className='col-4 md:col-4'>
<p>Nombre</p>
<div className='p-0 col-2 md:col-2' style={{ margin: '0 auto' }}>
<div className='p-inputgroup align-items-center justify-content-evenly'>
<i className='pi pi-user icon-khaki' />
<p>{this.props.info.name}</p>
</div>
</div>
<div className='col-4 md:col-4'>
<p>Apellido(s)</p>
<div className='p-0 col-2 md:col-2' style={{ margin: '0 auto' }}>
<div className='p-inputgroup align-items-center justify-content-evenly'>
<i className='pi pi-user icon-khaki' />
<p>{this.props.info.last_name}</p>
</div>
</div>
</div>
</div>
</div>
</Dialog>
) )
} }
} }