material-table
material-table copied to clipboard
align not available within columns in typescript
Using the latest version, I am not able to insert the align inside the collumn.
const columns = [
{
title: 'Tipo',
field: 'tipo',
align: 'center',
cellStyle: {
backgroundColor: '#039be5',
color: '#FFF'
},
headerStyle: {
backgroundColor: '#039be5'
}
},
]
My workaround was:
align: 'center' as 'center',
were you able to fix this ?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You can reopen it if it required.