diff --git a/components/rows.js b/components/rows.js index 40cecc6..c755ae7 100644 --- a/components/rows.js +++ b/components/rows.js @@ -26,7 +26,7 @@ export class Row extends Component { width={wth} height={height} flex={flex} - textStyle={[cellTextStyle && cellTextStyle(item), textStyle]} + textStyle={{...(cellTextStyle ? cellTextStyle(item) : {}), ...textStyle}} {...props} /> ); @@ -74,4 +74,4 @@ const styles = StyleSheet.create({ flexDirection: 'row', overflow: 'hidden' } -}); \ No newline at end of file +});