<template>
    <div class="common-text-box-hudf">
        <slot></slot>
    </div>
</template>
<script setup lang="js">
const props = defineProps({
    color: {
        type: String,
        default: "#000"
    },
    lineLimit: {
        type: Number,
        default: null
    }
});
</script>
<style lang="scss" scoped>
@use '@/styles/common.scss';

.common-text-box-hudf {
    color: v-bind(color) !important;

    @if('v-bind(lineLimit) !==null') {
        @include common.text-ellipsis(v-bind(lineLimit));
    }
}
</style>
