Files
jindengchen-ai-report/cool-unix/uni_modules/cool-share/utssdk/app-harmony/index.uts

14 lines
325 B
Plaintext
Raw Normal View History

2025-11-13 10:36:23 +08:00
import { ShareWithSystemOptions } from "../interface.uts";
import { share } from "./share.ets";
export function shareWithSystem(options: ShareWithSystemOptions) {
share(
options.type,
options.title ?? "",
options.summary ?? "",
options.url ?? "",
options.success ?? (() => {}),
options.fail ?? (() => {})
);
}