<script setup>

</script>

<template>
    <view class="x-button">
        <slot></slot>
    </view>
</template>

<style scoped lang="scss">
.x-button {
    color: #fff;
    background-color: var(--primary-color);
    padding: 22rpx 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(255, 255, 255);
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: 0;
    text-align: left;
    border-radius: 8rpx;
}
</style>
