Progress
This commit is contained in:
@@ -10,14 +10,25 @@ export default class List extends ImmutablePureComponent {
|
||||
scrollKey: PropTypes.string,
|
||||
emptyMessage: PropTypes.any,
|
||||
small: PropTypes.bool,
|
||||
onLoadMore: PropTypes.func,
|
||||
hasMore: PropTypes.bool,
|
||||
}
|
||||
|
||||
render() {
|
||||
const { items, scrollKey, emptyMessage, small } = this.props
|
||||
const {
|
||||
items,
|
||||
scrollKey,
|
||||
emptyMessage,
|
||||
hasMore,
|
||||
small,
|
||||
onLoadMore
|
||||
} = this.props
|
||||
|
||||
return (
|
||||
<Block>
|
||||
<ScrollableList
|
||||
onLoadMore={onLoadMore}
|
||||
hasMore={hasMore}
|
||||
scrollKey={scrollKey}
|
||||
emptyMessage={emptyMessage}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user