mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-10 04:30:25 +02:00
add table row separator support
This commit is contained in:
@@ -121,6 +121,8 @@ export const TableColumnTextContainer = (
|
||||
[styles.compact]: props.size === 'compact',
|
||||
[styles.left]: props.columns[props.columnIndex].align === 'start',
|
||||
[styles.right]: props.columns[props.columnIndex].align === 'end',
|
||||
[styles.withRowBorder]:
|
||||
props.enableRowBorders && props.enableHeader && props.rowIndex > 0,
|
||||
})}
|
||||
onClick={(e) => props.handleExpand(e, props.data[props.rowIndex], props.itemType)}
|
||||
style={props.style}
|
||||
@@ -151,6 +153,8 @@ export const TableColumnContainer = (
|
||||
[styles.compact]: props.size === 'compact',
|
||||
[styles.left]: props.columns[props.columnIndex].align === 'start',
|
||||
[styles.right]: props.columns[props.columnIndex].align === 'end',
|
||||
[styles.withRowBorder]:
|
||||
props.enableRowBorders && props.enableHeader && props.rowIndex > 0,
|
||||
})}
|
||||
onClick={(e) => props.handleExpand(e, props.data[props.rowIndex], props.itemType)}
|
||||
style={props.style}
|
||||
|
||||
Reference in New Issue
Block a user