From c39c5b24338ea9d447d0797c20ac07ad3fcee79a Mon Sep 17 00:00:00 2001 From: fangzhiyuan Date: Wed, 2 Jul 2025 11:10:20 +0800 Subject: [PATCH] =?UTF-8?q?WithThemeInterface=E8=A1=A5=E5=85=851.2?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: fangzhiyuan --- api/@internal/component/ets/with_theme.d.ts | 25 +++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/api/@internal/component/ets/with_theme.d.ts b/api/@internal/component/ets/with_theme.d.ts index 7d1f2ce379..f79a48b643 100644 --- a/api/@internal/component/ets/with_theme.d.ts +++ b/api/@internal/component/ets/with_theme.d.ts @@ -83,6 +83,31 @@ declare interface WithThemeOptions { */ declare type WithThemeInterface = (options: WithThemeOptions) => WithThemeAttribute; +/** + * Define WithThemeInterface. + * + * @interface WithThemeInterface + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @atomicservice + * @since 20 + * @arkts 1.2 + */ +interface WithThemeInterface { + /** + * The withTheme options. + * + * @param { WithThemeOptions } options + * @returns { WithThemeAttribute } + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @atomicservice + * @since 20 + * @arkts 1.2 + */ + (options: WithThemeOptions): WithThemeAttribute; +} + /** * Defines the WithTheme attribute functions.. * -- Gitee