<template>
    <prime-button class="button-delete p-button-danger" icon="pi pi-trash" :label="$t(label)"/>
</template>

<script>
import PrimeButton from "primevue/button"

export default {
    name: "ButtonDelete",
    components: {
        PrimeButton
    },
    props: {
        id: {type: String},
        label: {type: String, required: false, default: 'label.delete'},
    }
}
</script>

<style lang="scss">

.button-delete.p-button {
    font-size: 13px;
    height: 30px;
    width: unset;
    margin-left: 10px;
    text-align: left;
}

</style>
