<template>
    <div v-bind:class="'alert-' + type" class="p-1">{{ message }}</div>
</template>

<script>
    export default {
        name: "AlertBox",
        props: ['type', 'message']
    }
</script>
