add name and last_name props
This commit is contained in:
parent
3cf74d6c9d
commit
226e0b81a6
|
@ -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>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue