add toolbar templates

This commit is contained in:
Eduardo Quiros 2022-08-23 03:19:36 -06:00
parent 90fae98adb
commit ec452b0a7e
No known key found for this signature in database
GPG Key ID: B77F36C3F12720B4
1 changed files with 22 additions and 0 deletions

View File

@ -33,6 +33,28 @@ const InvitadosComunidad = () => {
getInvitados(); getInvitados();
}, [invitados]); }, [invitados]);
const leftToolbarTemplate = () => {
return (
<React.Fragment>
<div className='my-2'>
<p>Boton Eliminar aqui</p>
</div>
</React.Fragment>
)
}
const rightToolbarTemplate = () => {
return (
<React.Fragment>
<Button
label='Exportar'
icon='pi pi-upload'
className='p-button-help'
/>
</React.Fragment>
)
}
const headerTemplate = ( const headerTemplate = (
<div className='flex flex-column md:flex-row md:justify-content-between md:align-items-center'> <div className='flex flex-column md:flex-row md:justify-content-between md:align-items-center'>
<h5 className='m-0'>Invitados</h5> <h5 className='m-0'>Invitados</h5>