<template>
    <v-sheet class="mr-2">
        <cs-btn 
            outlined
            position="bottom"
            icon="mdi-chevron-left"
            caption="Înapoi"
            tooltip="Trecere la pasul abterior"

            :disabled="false"

            :click="OnClickNext"
        />
    </v-sheet>
</template>

<script>
    export default {
        props: {
            stepper: {required: true},
        },

        methods: {
            OnClickNext() {
                this.stepper.activeStep--;
            }
        },

        components: {
            CsBtn: require('@CsVueComp/buttons/CsBtn').default,
        },

        name: 'StepperBtnPrev',
    }
</script>