<template>
    <v-snackbar :color="color" :timeout="timeout" v-model="snackbar">
        {{message}}
        <v-btn color="white" text @click="snackbar = false" fab>
            <v-icon color="white">{{icon}}</v-icon>
        </v-btn>
    </v-snackbar>
</template>
<script>
export default {
    data: {},
    props: {
        timeout: { default: 30000 },
        color: { default: "red" },
        message: { default: "فعالیت شما با موفقیت انجام شد" },
        icon: "WMi-cancel"
    }
};
</script>