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

react-native-web-community/react-native-web-lists

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-native-web-lists

React Native for Web implementation of Lists

DEPRECATED: react-native-web now support FlatList, this package is now useless.

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!