Skip to content

Commit 40a8113

Browse files
committed
doc(List): 修改文档title api 错误描述
1 parent 2bb0e4e commit 40a8113

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/List/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ export default function Demo() {
179179
| `data` | 渲染头部 | [] | - |
180180
| `flat` | 当值为 `true` 使用 `FlatList` 组件渲染列表,当值为 `false` 时,使用 `View` 渲染界面 | Boolean | `true` |
181181
| `renderItem` | 当使用 `data` 时,可以用 `renderItem` 自定义渲染列表项 | ({item}) => { } | - |
182-
| `title` | 标题 | Number | `React.ReactNode` |
182+
| `title` | 标题 | React.ReactNode | - |
183183
| `titleStyle` | 当设置 `title` 参数之后可以设置其标题容器样式。| ViewStyle | - |
184184
| `horizontal` | 设置为 `true` 则变为水平布局模式。(`flat=true` 支持) | Boolean | `false` |
185185
| `numColumns` | 多列布局只能在非水平模式下使用,即必须是 `horizontal={false}`。此时组件内元素会从左到右从上到下按 `Z` 字形排列,类似启用了 `flexWrap` 的布局。组件内元素必须是等高的——暂时还无法支持瀑布流布局。(`flat=true` 支持) | Number | - |

0 commit comments

Comments
 (0)