diff --git a/api/@internal/component/ets/with_theme.d.ts b/api/@internal/component/ets/with_theme.d.ts index 7d1f2ce37928f907c6b9e6de7ca722a14637655f..f79a48b6433b5c5d3f5c52c02f4710e5c31d37a4 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.. *