city-casereport/miniprogram_npm/tdesign-miniprogram/toast/props.js
2023-12-06 14:22:42 +08:00

40 lines
641 B
JavaScript

const props = {
direction: {
type: String,
value: 'row',
},
duration: {
type: Number,
value: 2000,
},
externalClasses: {
type: Array,
},
icon: {
type: null,
},
message: {
type: String,
},
overlayProps: {
type: Object,
value: {},
},
placement: {
type: String,
value: 'middle',
},
preventScrollThrough: {
type: Boolean,
value: false,
},
showOverlay: {
type: Boolean,
value: false,
},
theme: {
type: String,
},
};
export default props;