diff --git a/zh-cn/application-dev/reference/arkui-ts/ts-basic-components-textinput.md b/zh-cn/application-dev/reference/arkui-ts/ts-basic-components-textinput.md index d13b166d34eb14084a17aaa38495d06118530e3c..c55d69b4cf6960ce8c6c0dee7590e55ff10374a0 100644 --- a/zh-cn/application-dev/reference/arkui-ts/ts-basic-components-textinput.md +++ b/zh-cn/application-dev/reference/arkui-ts/ts-basic-components-textinput.md @@ -107,7 +107,7 @@ struct TextInputExample1 { build() { Column() { - TextArea({ placeholder: 'input your word' }) + TextInput({ placeholder: 'input your word' }) .placeholderColor("rgb(0,0,225)") .placeholderFont({ size: 30, weight: 100, family: 'cursive', style: FontStyle.Italic }) .caretColor(Color.Blue)