mirror of
https://github.com/status-im/react-native.git
synced 2025-01-10 17:45:59 +00:00
82b4b9b115
Summary: Previously, the example MyListItem never referenced the selected prop, leaving ambiguity about the intention of the demo. By adding a concrete implementation with coloring based on the selected prop, we can see that this is a demo of a multi-select list for batch actions instead of, say, a click-to-navigate nested list. Here is a working Snack demo for future reference: https://snack.expo.io/BkRMRTGB- References #14872 <!-- Thank you for sending the PR! If you changed any code, please provide us with clear instructions on how you verified your changes work. In other words, a test plan is *required*. Bonus points for screenshots and videos! Please read the Contribution Guidelines at https://github.com/facebook/react-native/blob/master/CONTRIBUTING.md to learn more about contributing to React Native. Happy contributing! --> Closes https://github.com/facebook/react-native/pull/14957 Differential Revision: D5892186 Pulled By: sahrens fbshipit-source-id: c7b46b5f6eae8f36bd4bda7cbbd354cc22108b42