Skip to content

Commit 84374a7

Browse files
authored
docs: update picker docs (#3770)
1 parent 4243c4e commit 84374a7

3 files changed

Lines changed: 5 additions & 8 deletions

File tree

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@
4040
"editor.formatOnSave": true,
4141
"editor.defaultFormatter": "esbenp.prettier-vscode"
4242
},
43+
"[markdown]": {
44+
"editor.formatOnSave": false
45+
},
4346
"[typescript]": {
4447
"editor.defaultFormatter": "esbenp.prettier-vscode"
4548
},

src/picker/README.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,16 +39,12 @@ isComponent: true
3939

4040
{{ area }}
4141

42-
### 组件状态
42+
### 组件样式
4343

4444
是否带标题
4545

4646
{{ with-title }}
4747

48-
### 不使用 Popup
49-
50-
{{ without-popup }}
51-
5248
## API
5349

5450
### Picker Props
@@ -95,6 +91,7 @@ options | Array | [] | 数据源。TS 类型:`PickerItemOption[]` `interface P
9591
### CSS Variables
9692

9793
组件提供了下列 CSS 变量,可用于自定义样式。
94+
9895
名称 | 默认值 | 描述
9996
-- | -- | --
10097
--td-picker-group-height | 400rpx | -

src/picker/_example/picker.wxml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,4 @@
88
<t-demo title="02 组件样式" desc="是否带标题">
99
<with-title />
1010
</t-demo>
11-
<t-demo desc="不使用 Popup">
12-
<without-popup />
13-
</t-demo>
1411
</view>

0 commit comments

Comments
 (0)