短通知 + 上部消息
This commit is contained in:
40
components/toast/props.js
Normal file
40
components/toast/props.js
Normal file
@@ -0,0 +1,40 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user