Skip to content
This repository has been archived by the owner on Jun 2, 2021. It is now read-only.

Make the library compatible with iOS and Android #2

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

adrianicv
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants