<template>
    <cs-btn 
        :tooltip="tooltip"
        icon="mdi-reload"
        :loading="dataprovider.processing"
        :disabled="disabled"
        :click="() => dataprovider.Post()"
    />
</template>

<script>
    export default {

        props: {
            tooltip: {default: 'Reîncarcă datele'},
            dataprovider: {required: true},
            disabled: {default: false},
        },

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

        name: 'CsBtnReload',
    }
</script>