<template>
    <div class="admin-home__header">
        <div class="admin-home__btns-icon" @click="btnClick">
            <i v-if="asideStatus" class="el-icon-s-fold"></i>
            <i v-else class="el-icon-s-unfold"></i>
        </div>
        <div>

        </div>
    </div>
</template>

<script>
    export default {
        name: 'Header',
        props: {
            asideStatus: {
                type: Boolean,
                default: true
            }
        },
        methods: {
            btnClick() {
                this.$emit('asider-status')
            }
        }
    };
</script>

<style lang="scss" scoped>
.admin-home {
    &__header {
        display: flex;
        justify-content: flex-start;
    }

    &__btns-icon {
        font-size: 28px;
        > i {
          cursor: pointer;
        }
    }
}
</style>