From 98f3a0f38dd29ea8999345dda6c15b2e74162bf9 Mon Sep 17 00:00:00 2001 From: LiAn Date: Mon, 4 Jul 2022 12:58:27 +0000 Subject: [PATCH] update zh-cn/application-dev/reference/arkui-ts/ts-basic-components-textinput.md. Signed-off-by: LiAn --- .../reference/arkui-ts/ts-basic-components-textinput.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 279471bbf8..fbcf06c145 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 @@ -105,10 +105,9 @@ 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 }) - .textAlign(TextAlign.Center) .caretColor(Color.Blue) .height(50) .fontSize(30) -- GitLab