water_xcx/miniprogram_npm/tdesign-miniprogram/toast/props.js

41 lines
662 B
JavaScript
Raw Normal View History

2025-04-15 15:44:51 +08:00
const props = {
direction: {
type: String,
value: 'row',
},
duration: {
type: Number,
value: 2000,
},
externalClasses: {
type: Array,
},
icon: {
type: String,
value: '',
},
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;