UNPKG

@bytedance/mona-client-web

Version:

web for mona

11 lines 350 B
import { Toastconfirm, ToastType } from '../Toast'; export function webShowLoading(config) { var _a; if (!config.title) { (_a = config.fail) === null || _a === void 0 ? void 0 : _a.call(config, { errMsg: 'showLoading:fail' }); } else { Toastconfirm(config, ToastType.loading); } } //# sourceMappingURL=index.js.map