Closed luutruong closed 3 years ago
This warning occurred when install RN 0.63.2
Component effected:
Use a Text for accessoryLeft in ListItem.
Example:
<ListItem title="test a bug" accessoryRight={(props) => ( <Text {...props}>Bug</Text> )} />
Please see the API. It is expected from this property to return an image. Which means it is called with props accessible by the Image component and not by text. If you want to render a Text please use the passed props argument accurately
props
🐛 Bug Report
This warning occurred when install RN 0.63.2
Component effected:
To Reproduce
Use a Text for accessoryLeft in ListItem.
Example:
UI Kitten and Eva version