Skip to content

Commit 40fd5f1

Browse files
liuchuzhangSingle-Dancer
authored andcommitted
fix(types): adjustKeyboardTo 类型修正
1 parent f194562 commit 40fd5f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
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)