UNPKG

tdesign-mobile-vue

Version:
55 lines (52 loc) 1.05 kB
/** * tdesign v1.7.0 * (c) 2024 TDesign Group * @license MIT */ var ToastProps = { direction: { type: String, default: "row", validator: function validator(val) { if (!val) return true; return ["row", "column"].includes(val); } }, duration: { type: Number, default: 2e3 }, icon: { type: [String, Function] }, message: { type: [String, Function] }, overlayProps: { type: Object, default: function _default() { return {}; } }, placement: { type: String, default: "middle", validator: function validator(val) { if (!val) return true; return ["top", "middle", "bottom"].includes(val); } }, preventScrollThrough: Boolean, showOverlay: Boolean, theme: { type: String, validator: function validator(val) { if (!val) return true; return ["loading", "success", "error"].includes(val); } }, onClose: Function, onDestroy: Function }; export { ToastProps as default }; //# sourceMappingURL=props.js.map