1.0.7 • Published 3 years ago

react-simple-window v1.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

下载


npm i react-simple-window --save

使用方法:


import FixedSizeList from 'react-simple-window';

export default APP(){
    
	return(
		<FixedSizeList
            ref={listRef}
            itemCount={'行数'}
            itemSize={'行高'}
            height={'高度'}
            render={(index,style) => {

       }}
      />
	)
}

props


名称默认值描述类型
itemCount总条数number
itemSize行高number
height‘auto’滚动区域高度number
render(函数)滚动函数function(index,style)

方法


1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.3

4 years ago

1.0.0

4 years ago