Skip to content

Commit e5f6a45

Browse files
committed
fix(types): adjustKeyboardTo 类型修正
1 parent 2f43f96 commit e5f6a45

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/taro-components/types/Textarea.d.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,9 @@ interface TextareaProps extends StandardProps, FormItemProps {
125125
ariaLabel?: string
126126
/** 键盘对齐位置
127127
* @supported weapp
128-
* @default false
128+
* @default 'cursor'
129129
*/
130-
adjustKeyboardTo?: boolean
130+
adjustKeyboardTo?: 'cursor' | 'bottom'
131131
/** 输入框聚焦时触发
132132
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
133133
*/

0 commit comments

Comments
 (0)