nuoyz / time-web

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

test

nuoyz opened this issue · comments

commented

react-flatlist

A performant interface for rendering simple, flat lists.

Installation

$ npm install --save react-flatlist

Usage

  <FlatList
    data={[{key: 'a'}, {key: 'b'}]}
    renderItem={({item}) => <div>{item.key}</div>}
  />
```javascript

## Props


## data
  type: array

## renderItem
  takes an item from data and renders it into the list
## License

MIT