"use strict";
const common_vendor = require("../../../../common/vendor.js");
function toast(title, option = 1500) {
  common_vendor.index.showToast({
    title,
    icon: typeof option === "string" ? option : typeof option === "object" ? option.icon || "none" : "none",
    duration: typeof option === "number" ? option : typeof option === "object" ? option.duration || "1500" : 1500
  });
}
exports.toast = toast;
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/uni_modules/uview-pro/libs/function/toast.js.map
