Skip to content

Commit

Permalink
docs(useInfiniteScroll): fix api table (alibaba#2433)
Browse files Browse the repository at this point in the history
* Update useInfiniteScroll/index.zh-CN.md

fix useInfiniteScroll  Result table style

* docs: format table

* docs: fix syntax

* docs: update

---------

Co-authored-by: liuyib <[email protected]>
  • Loading branch information
marunrun and liuyib authored Jan 10, 2024
1 parent 656c916 commit 4c9dbc1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/hooks/src/useInfiniteScroll/index.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ const {
### Result

| Property | Description | Type |
| ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | ----------- |
| data | The data returned by the service, where the `list` attribute is the aggregated data | `TData` \ | `undefined` |
| ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ |
| data | The data returned by the service, where the `list` attribute is the aggregated data | `TData` \| `undefined` |
| loading | Is the first request in progress | `boolean` |
| loadingMore | Is more data request in progress | `boolean` |
| noMore | Whether there is no more data, it will take effect after configuring `options.isNoMore` | `boolean` |
Expand Down
4 changes: 2 additions & 2 deletions packages/hooks/src/useInfiniteScroll/index.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ const {
### Result

| 参数 | 说明 | 类型 |
| ------------- | -------------------------------------------------------------------------- | ------------------------ | ----------- |
| data | service 返回的数据,其中的 `list` 属性为聚合后数据 | `TData` \ | `undefined` |
| ------------- | -------------------------------------------------------------------------- | ------------------------ |
| data | service 返回的数据,其中的 `list` 属性为聚合后数据 | `TData` \| `undefined` |
| loading | 是否正在进行首次请求 | `boolean` |
| loadingMore | 是否正在进行更多数据请求 | `boolean` |
| noMore | 是否没有更多数据了,配置 `options.isNoMore` 后生效 | `boolean` |
Expand Down

0 comments on commit 4c9dbc1

Please sign in to comment.