Files
jindengchen-ai-report/cool-unix/uni_modules/cool-share/utssdk/app-harmony/index.uts
2025-11-13 10:36:23 +08:00

14 lines
325 B
Plaintext

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 ?? (() => {})
);
}