1- # rc-virtual-list
1+ # @ rc-component/ virtual-list
22
33React Virtual List Component which worked with animation.
44
5- [ ![ NPM version] [ npm-image ]] [ npm-url ] [ ![ dumi] ( https://img.shields.io/badge/docs%20by-dumi-blue?style=flat-square )] ( https://github.com/umijs/dumi ) [ ![ build status] [ github-actions-image ]] [ github-actions-url ] [ ![ Test coverage] [ coveralls-image ]] [ coveralls-url ] [ ![ node version] [ node-image ]] [ node-url ] [ ![ npm download] [ download-image ]] [ download-url ]
6-
7- [ npm-image ] : http://img.shields.io/npm/v/rc-virtual-list.svg?style=flat-square
8- [ npm-url ] : http://npmjs.org/package/rc-virtual-list
9- [ github-actions-image ] : https://github.com/react-component/virtual-list/workflows/CI/badge.svg
10- [ github-actions-url ] : https://github.com/react-component/virtual-list/actions
11- [ coveralls-image ] : https://img.shields.io/codecov/c/github/react-component/virtual-list/master.svg?style=flat-square
12- [ coveralls-url ] : https://codecov.io/gh/react-component/virtual-list
13- [ node-image ] : https://img.shields.io/badge/node.js-%3E=_6.0-green.svg?style=flat-square
14- [ node-url ] : http://nodejs.org/download/
15- [ download-image ] : https://img.shields.io/npm/dm/rc-virtual-list.svg?style=flat-square
16- [ download-url ] : https://npmjs.org/package/rc-virtual-list
5+ [ ![ NPM version] [ npm-image ]] [ npm-url ]
6+ [ ![ npm download] [ download-image ]] [ download-url ]
7+ [ ![ build status] [ github-actions-image ]] [ github-actions-url ]
8+ [ ![ Codecov] [ codecov-image ]] [ codecov-url ]
9+ [ ![ bundle size] [ bundlephobia-image ]] [ bundlephobia-url ]
10+ [ ![ dumi] [ dumi-image ]] [ dumi-url ]
11+
12+ [ npm-image ] : https://img.shields.io/npm/v/@rc-component/virtual-list.svg?style=flat-square
13+ [ npm-url ] : https://npmjs.org/package/@rc-component/virtual-list
14+ [ travis-image ] : https://img.shields.io/travis/react-component/virtual-list/master?style=flat-square
15+ [ travis-url ] : https://travis-ci.com/react-component/virtual-list
16+ [ github-actions-image ] : https://github.com/react-component/virtual-list/actions/workflows/main.yml/badge.svg
17+ [ github-actions-url ] : https://github.com/react-component/virtual-list/actions/workflows/main.yml
18+ [ codecov-image ] : https://img.shields.io/codecov/c/github/react-component/virtual-list/master.svg?style=flat-square
19+ [ codecov-url ] : https://app.codecov.io/gh/react-component/virtual-list
20+ [ david-url ] : https://david-dm.org/react-component/virtual-list
21+ [ david-image ] : https://david-dm.org/react-component/virtual-list/status.svg?style=flat-square
22+ [ david-dev-url ] : https://david-dm.org/react-component/virtual-list?type=dev
23+ [ david-dev-image ] : https://david-dm.org/react-component/virtual-list/dev-status.svg?style=flat-square
24+ [ download-image ] : https://img.shields.io/npm/dm/@rc-component/virtual-list.svg?style=flat-square
25+ [ download-url ] : https://npmjs.org/package/@rc-component/virtual-list
26+ [ bundlephobia-url ] : https://bundlephobia.com/package/@rc-component/virtual-list
27+ [ bundlephobia-image ] : https://badgen.net/bundlephobia/minzip/@rc-component/virtual-list
28+ [ dumi-url ] : https://github.com/umijs/dumi
29+ [ dumi-image ] : https://img.shields.io/badge/docs%20by-dumi-blue?style=flat-square
1730
1831## Online Preview
1932
@@ -35,15 +48,15 @@ open http://localhost:8000/
3548
3649## Install
3750
38- [ ![ rc-virtual-list] ( https://nodei.co/npm/rc-virtual-list.png )] ( https://npmjs.org/package/rc-virtual-list )
51+ [ ![ @ rc-component/ virtual-list ] ( https://nodei.co/npm/@ rc-component/ virtual-list.png )] ( https://npmjs.org/package/@ rc-component/ virtual-list )
3952
4053## Usage
4154
42- ``` js
43- import List from ' rc-virtual-list' ;
55+ ``` tsx
56+ import List from ' @ rc-component/ virtual-list' ;
4457
4558<List data = { [0 , 1 , 2 ]} height = { 200 } itemHeight = { 30 } itemKey = " id" >
46- {index => < div> {index}< / div> }
59+ { ( index ) => <div >{ index } </div >}
4760</List >;
4861```
4962
0 commit comments