<template>
    <div class="c-mta-rate_read-only">
        <el-rate
                disabled
                v-model="value"
        />
        <span class="c-rate-score_text">{{score}}</span>
    </div>
</template>

<script>
    export default {
        name: 'MtaRateReadOnly',
        props: {
            score: {
                type: String,
                required: true
            },
            value: {
                type: Number,
                default: 0
            }
        },
    };
</script>

<style lang="scss" scoped>
.c-mta-rate_read-only {
    display: flex;
    justify-content: flex-start;
    line-height: 25px;

    .c-rate-score_text {
        margin-left: 5px;
        font-size: 16px;
        color: #333;
    }
}
</style>
