Feat: datatable prop to choose row size
This commit is contained in:
parent
2663f0b4a8
commit
5fd1974242
4 changed files with 12 additions and 4 deletions
|
|
@ -72,7 +72,11 @@ export default {
|
|||
backgroundColor: tableErrorColor
|
||||
},
|
||||
mainContent: ({ size }) => {
|
||||
const minHeight = size === 'lg' ? 68 : 48
|
||||
const sizes = {
|
||||
sm: 34,
|
||||
lg: 68
|
||||
}
|
||||
const minHeight = sizes[size] || 48
|
||||
return {
|
||||
display: 'flex',
|
||||
alignItems: 'center',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue