All Projects → react-native-web-community → React Native Web Lists

react-native-web-community / React Native Web Lists

Licence: mit
React Native for Web implementation of Lists

Programming Languages

javascript
184084 projects - #8 most used programming language

react-native-web-lists

React Native for Web implementation of Lists

This package uses the legacy implementation (ListView).

Getting started

$ npm install react-native-web-lists --save

Alias the package in your webpack config:

resolve: {
    alias: {
        'react-native': 'react-native-web',
        ...
        'FlatList': 'react-native-web-lists/src/FlatList',
        'SectionList': 'react-native-web-lists/src/SectionList',
    }
}

Usage

import FlatList from 'FlatList'; // don't import from react-native
import SectionList from 'SectionList'; // don't import from react-native

See RN's docs.

Examples

See the storybook.

Contributing

PRs are welcome!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].