Chatwoot/app/javascript/dashboard/components/Snackbar.vue
Muhsin Keloth 9306b725d8
chore: Fix pre-commit hooks (#3525)
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2021-12-08 17:32:00 -08:00

29 lines
429 B
Vue

<template>
<div>
<div class="ui-snackbar">
<div class="ui-snackbar-text">
{{ message }}
</div>
</div>
</div>
</template>
<script>
export default {
props: {
message: String,
showButton: Boolean,
duration: {
type: [String, Number],
default: 3000,
},
},
data() {
return {
toggleAfterTimeout: false,
};
},
mounted() {},
methods: {},
};
</script>