From 0f6be00aeda0b43541396c86343fd80ee1476244 Mon Sep 17 00:00:00 2001 From: "ester.zhou" Date: Sat, 16 Apr 2022 09:29:22 +0800 Subject: [PATCH] update doc Signed-off-by: ester.zhou --- en/application-dev/ui/ts-component-based-preview.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/en/application-dev/ui/ts-component-based-preview.md b/en/application-dev/ui/ts-component-based-preview.md index 703e4d41a4..c0fffb15c2 100644 --- a/en/application-dev/ui/ts-component-based-preview.md +++ b/en/application-dev/ui/ts-component-based-preview.md @@ -1,10 +1,10 @@ # @Preview -Custom components decorated by @Preview can be previewed in the Previewer of DevEco Studio. When the page is loaded, the custom components decorated by @Preview are created and displayed. +You can use @Preview to decorate a custom component so that it can be previewed in DevEco Studio. This component is created and displayed when the page where it is located is loaded. -> ![icon-note.gif](public_sys-resources/icon-note.gif) **NOTE**: +> ![icon-note.gif](public_sys-resources/icon-note.gif) **NOTE** > In a source file, at most one custom component can be decorated by @Preview. -- GitLab