9606abe251
* Fix all the eslint warnings * Revert the schema
29 lines
452 B
Vue
29 lines
452 B
Vue
<template>
|
|
<div>
|
|
<div class="ui-snackbar">
|
|
<div class="ui-snackbar-text">
|
|
{{ message }}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
props: {
|
|
message: { type: String, default: '' },
|
|
showButton: Boolean,
|
|
duration: {
|
|
type: [String, Number],
|
|
default: 3000,
|
|
},
|
|
},
|
|
data() {
|
|
return {
|
|
toggleAfterTimeout: false,
|
|
};
|
|
},
|
|
mounted() {},
|
|
methods: {},
|
|
};
|
|
</script>
|