Hi! ๐
Firstly, thanks for your work on this project! ๐
Today I used patch-package to patch react-native-table-component@1.2.2 for the project I'm working on.
Here is the diff that solved my problem:
diff --git a/node_modules/react-native-table-component/components/rows.js b/node_modules/react-native-table-component/components/rows.js
index 40cecc6..b096fe4 100644
--- a/node_modules/react-native-table-component/components/rows.js
+++ b/node_modules/react-native-table-component/components/rows.js
@@ -26,7 +26,8 @@ export class Row extends Component {
width={wth}
height={height}
flex={flex}
- textStyle={[cellTextStyle && cellTextStyle(item), textStyle]}
+ // textStyle={[cellTextStyle && cellTextStyle(item), textStyle]}
+ textStyle={{...(cellTextStyle ? cellTextStyle(item) : {}), ...textStyle}}
{...props}
/>
);
This issue body was partially generated by patch-package.
Hi! ๐
Firstly, thanks for your work on this project! ๐
Today I used patch-package to patch
react-native-table-component@1.2.2for the project I'm working on.Here is the diff that solved my problem:
This issue body was partially generated by patch-package.