Open MOwais opened 4 years ago
I have the same issue. I define a simple
<Table borderStyle={{borderWidth: 1, borderColor: 'white'}}>
and generate this error:
ExceptionsManager.js:126 Expected NSNumber or NSString for RCTBorderStyle, received NSMutableDictionary: { borderColor = white; borderWidth = 1; }
I see another warning message that says:
Warning failed prop type: Invalid prop borderWidth of type 'string' supplied to 'Cell', expected 'number'. Bad object: {"borderWidth": "solid"}
This object is generated by the table internally, I don't define it.
I have the same issue. I define a simple
<Table borderStyle={{borderWidth: 1, borderColor: 'white'}}>
and generate this error:
ExceptionsManager.js:126 Expected NSNumber or NSString for RCTBorderStyle, received NSMutableDictionary: { borderColor = white; borderWidth = 1; }
I see another warning message that says:
Warning failed prop type: Invalid prop borderWidth of type 'string' supplied to 'Cell', expected 'number'. Bad object: {"borderWidth": "solid"}
This object is generated by the table internally, I don't define it.
You need to add borderStyle to the TableWrapper component instead"
<TableWrapper borderStyle={{borderWidth: 1, borderColor: '#fff'}}>
<Table>
{
...
}
</Table>
</TableWrapper>
Getting this error in iOS.
Error:
Usage:
env: