<script setup>
import {useAuthStore} from "../../Stores/auth.js";
import {NDropdown, NButton, NText} from 'naive-ui'

const authStore = useAuthStore()
const userOptions = [
    {
        label: 'Выход',
        key: 'exit',
    },
]
const themeOverride = {
    border: null,
    borderHover: null,
    borderPressed: null,
    borderFocus: null,
    paddingMedium: null,
    rippleColor: null
}
</script>

<template>
    <NText>
        {{ authStore.user?.name }}
    </NText>
<!--    <NDropdown :options="userOptions" placement="bottom-end">-->
<!--        <NButton :theme-overrides="themeOverride">-->
<!--            {{ authStore.user?.name }}-->
<!--        </NButton>-->
<!--    </NDropdown>-->
</template>

<style scoped>

</style>
