<template>
    <div class="side-menu-settings">
        <a v-bind:href="href">
            {{ label }}

            <span class="avatardiv avatardiv-shown">
                <img v-bind:src="avatar" v-bind:alt="name" v-bind:title="name">
            </span>
        </a>
    </div>
</template>

<script>
export default {
    name: 'SettingsButton',
    props: {
        label: {
            type: String,
            required: true
        },
        href: {
            type: String,
            required: true
        },
        avatar: {
            type: String,
            required: true
        },
    },
}
</script>
