Skip to content

Commit 4bf863f

Browse files
authored
1 parent d1b0104 commit 4bf863f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/taro-ui/types/list.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export interface AtListItemProps extends AtComponent {
2828
/**
2929
* 元素的标题
3030
*/
31-
title?: string
31+
title?: JSX.Element
3232
/**
3333
* 元素的主要缩略图
3434
*/
@@ -40,7 +40,7 @@ export interface AtListItemProps extends AtComponent {
4040
/**
4141
* 额外信息的文本
4242
*/
43-
extraText?: string
43+
extraText?: JSX.Element
4444
/**
4545
* 额外信息的缩略图
4646
*/

0 commit comments

Comments
 (0)