Skip to content

Commit 565cc0d

Browse files
authored
docs(action-sheet): update visible props requirement (#3599)
Change visible and default-visible props from required to optional in both Chinese and English documentation.
1 parent 34cd359 commit 565cc0d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/action-sheet/README.en-US.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ show-cancel | Boolean | true | \- | N
1818
show-overlay | Boolean | true | \- | N
1919
theme | String | list | options: list/grid | N
2020
using-custom-navbar | Boolean | false | \- | N
21-
visible | Boolean | false | required | Y
22-
default-visible | Boolean | undefined | required。uncontrolled property | Y
21+
visible | Boolean | false | Show or hide | N
22+
default-visible | Boolean | undefined | uncontrolled property | N
2323

2424
### ActionSheet Events
2525

@@ -49,4 +49,4 @@ Name | Default Value | Description
4949
--td-action-sheet-description-color | @font-gray-3 | -
5050
--td-action-sheet-list-item-disabled-color | @font-gray-4 | -
5151
--td-action-sheet-list-item-height | 112rpx | -
52-
--td-action-sheet-text-align | center | -
52+
--td-action-sheet-text-align | center | -

src/action-sheet/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ show-cancel | Boolean | true | 是否显示取消按钮 | N
106106
show-overlay | Boolean | true | 是否显示遮罩层 | N
107107
theme | String | list | 展示类型,列表和表格形式展示。可选项:list/grid | N
108108
using-custom-navbar | Boolean | false | 是否使用了自定义导航栏 | N
109-
visible | Boolean | false | 必需。显示与隐藏 | Y
110-
default-visible | Boolean | undefined | 必需。显示与隐藏。非受控属性 | Y
109+
visible | Boolean | false | 显示与隐藏 | N
110+
default-visible | Boolean | undefined | 显示与隐藏。非受控属性 | N
111111

112112
### ActionSheet Events
113113

0 commit comments

Comments
 (0)