mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-13 04:53:11 +08:00
fix typo
This commit is contained in:
parent
5634881eda
commit
d94e7bd7f0
@ -101,7 +101,7 @@ export default class List extends React.Component<ListProps> {
|
|||||||
return renderItem(item, index);
|
return renderItem(item, index);
|
||||||
}
|
}
|
||||||
|
|
||||||
isSomethingAfterLastTtem() {
|
isSomethingAfterLastItem() {
|
||||||
const { loadMore, pagination, footer } = this.props;
|
const { loadMore, pagination, footer } = this.props;
|
||||||
return !!(loadMore || pagination || footer);
|
return !!(loadMore || pagination || footer);
|
||||||
}
|
}
|
||||||
@ -160,7 +160,7 @@ export default class List extends React.Component<ListProps> {
|
|||||||
[`${prefixCls}-bordered`]: bordered,
|
[`${prefixCls}-bordered`]: bordered,
|
||||||
[`${prefixCls}-loading`]: isLoading,
|
[`${prefixCls}-loading`]: isLoading,
|
||||||
[`${prefixCls}-grid`]: grid,
|
[`${prefixCls}-grid`]: grid,
|
||||||
[`${prefixCls}-something-after-last-item`]: this.isSomethingAfterLastTtem(),
|
[`${prefixCls}-something-after-last-item`]: this.isSomethingAfterLastItem(),
|
||||||
});
|
});
|
||||||
|
|
||||||
const paginationContent = (
|
const paginationContent = (
|
||||||
|
Loading…
Reference in New Issue
Block a user