File tree 3 files changed +6
-7
lines changed
3 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -9,8 +9,8 @@ name | type | default | description | required
9
9
style | Object | - | CSS(Cascading Style Sheets) | N
10
10
custom-style | Object | - | CSS(Cascading Style Sheets),used to set style on virtual component | N
11
11
auto-close | Boolean | true | \- | N
12
- cancel-btn | String / Boolean / Object | true | Typescript:` boolean \| string \| ButtonProps ` | N
13
- confirm-btn | String / Boolean / Object | true | Typescript:` boolean \| string \| ButtonProps ` , [ Button API Documents ] ( ./button?tab=api ) 。 [ see more ts definition ] ( https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/picker/type.ts ) | N
12
+ cancel-btn | String / Boolean | true | Typescript:` boolean \| string ` | N
13
+ confirm-btn | String / Boolean | true | Typescript:` boolean \| string ` | N
14
14
footer | Slot | - | [ see more ts definition] ( https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts ) | N
15
15
header | Boolean / Slot | true | [ see more ts definition] ( https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts ) | N
16
16
item-height | Number | 80 | \- | N
Original file line number Diff line number Diff line change @@ -58,8 +58,8 @@ isComponent: true
58
58
style | Object | - | 样式 | N
59
59
custom-style | Object | - | 样式,一般用于开启虚拟化组件节点场景 | N
60
60
auto-close | Boolean | true | 自动关闭;在确认、取消、点击遮罩层自动关闭,不需要手动设置 visible | N
61
- cancel-btn | String / Boolean / Object | true | 取消按钮文字。TS 类型:` boolean \| string \| ButtonProps ` | N
62
- confirm-btn | String / Boolean / Object | true | 确定按钮文字。TS 类型:` boolean \| string \| ButtonProps ` , [ Button API Documents ] ( ./button?tab=api ) 。 [ 详细类型定义 ] ( https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/picker/type.ts ) | N
61
+ cancel-btn | String / Boolean | true | 取消按钮文字。TS 类型:` boolean \| string ` | N
62
+ confirm-btn | String / Boolean | true | 确定按钮文字。TS 类型:` boolean \| string ` | N
63
63
footer | Slot | - | 底部内容。[ 通用类型定义] ( https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts ) | N
64
64
header | Boolean / Slot | true | 头部内容。值为 true 显示空白头部,值为 false 不显示任何内容。[ 通用类型定义] ( https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts ) | N
65
65
item-height | Number | 80 | PickerItem 的子项高度,单位 rpx | N
Original file line number Diff line number Diff line change 4
4
* 该文件为脚本自动生成文件,请勿随意修改。如需修改请联系 PMC
5
5
* */
6
6
7
- import { ButtonProps } from '../button/index' ;
8
7
import { PopupProps } from '../popup/index' ;
9
8
import { KeysType } from '../common/common' ;
10
9
@@ -23,15 +22,15 @@ export interface TdPickerProps {
23
22
*/
24
23
cancelBtn ?: {
25
24
type : null ;
26
- value ?: boolean | string | ButtonProps ;
25
+ value ?: boolean | string ;
27
26
} ;
28
27
/**
29
28
* 确定按钮文字
30
29
* @default true
31
30
*/
32
31
confirmBtn ?: {
33
32
type : null ;
34
- value ?: boolean | string | ButtonProps ;
33
+ value ?: boolean | string ;
35
34
} ;
36
35
/**
37
36
* 头部内容。值为 true 显示空白头部,值为 false 不显示任何内容
You can’t perform that action at this time.
0 commit comments