Browse Source

docs: fixed List itemLayout prop definition (#29592)

pull/29599/head
Andre Zyczkowski 4 years ago
committed by GitHub
parent
commit
3c6e1ca877
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      components/list/index.en-US.md

2
components/list/index.en-US.md

@ -23,7 +23,7 @@ A list can be used to display content related to a single subject. The content c
| footer | List footer renderer | ReactNode | - | | | footer | List footer renderer | ReactNode | - | |
| grid | The grid type of list. You can set grid to something like {gutter: 16, column: 4} | [object](#List-grid-props) | - | | | grid | The grid type of list. You can set grid to something like {gutter: 16, column: 4} | [object](#List-grid-props) | - | |
| header | List header renderer | ReactNode | - | | | header | List header renderer | ReactNode | - | |
| itemLayout | The layout of list, default is `horizontal`, If a vertical list is desired, set the itemLayout property to `vertical` | string | - | | | itemLayout | The layout of list | `horizontal` \| `vertical` | `horizontal` | |
| loading | Shows a loading indicator while the contents of the list are being fetched | boolean \| [SpinProps](/components/spin/#API) ([more](https://github.com/ant-design/ant-design/issues/8659)) | false | | | loading | Shows a loading indicator while the contents of the list are being fetched | boolean \| [SpinProps](/components/spin/#API) ([more](https://github.com/ant-design/ant-design/issues/8659)) | false | |
| loadMore | Shows a load more content | ReactNode | - | | | loadMore | Shows a load more content | ReactNode | - | |
| locale | The i18n text including empty text | object | {emptyText: `No Data`} | | | locale | The i18n text including empty text | object | {emptyText: `No Data`} | |

Loading…
Cancel
Save