0.0.3 • Published 8 years ago

rc-list-view v0.0.3

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

rc-list-view

A react list view for handle big data list without store data to state.

This project is from react-list-view, but the project killed the horizontal scroll function, and transform code to typescript and fixed the clientHeight bug

Install

# npm package Install
npm i --save rc-list-view

# typings definition
typings install npm:rc-list-view/.d.ts/rc-list-view.d.ts --save --global

Usage

import RcListView from 'rc-list-view'
import * as ReactDOM from 'react-dom'
ReactDOM.render(
  <ListView rowCount={10000}
    rowHeight={20}
    height={80}
    renderItem={(line, style) => <div style={style}>{line}</div>}/>,
  document.getElementById('content')
)

API

See rc-list-view.d.ts

License

MIT