react-native-web-lists icon indicating copy to clipboard operation
react-native-web-lists copied to clipboard

Make the library compatible with iOS and Android

Open adrianicv opened this issue 7 years ago • 0 comments

In order to make the library compatible with iOS and Android I've included an index.native.js to export the FlatList and SectionList classes from react-native in case we are not running in a web environment (this is detected in package.json). The drawback is that we no longer can import from aliases, instead, we import directly from react-native-web-lists. If this isn't a problem I offer a PR to merge with master.

Thanks in advance.

adrianicv avatar Feb 13 '18 11:02 adrianicv