mirror of
https://github.com/VueTubeApp/VueTube
synced 2024-11-09 13:05:07 +00:00
24 lines
437 B
Vue
24 lines
437 B
Vue
<template>
|
|
<div class="description" v-if="render.descriptionBodyText">
|
|
<yt-text-formatter :textRuns="render.descriptionBodyText.runs">
|
|
</yt-text-formatter>
|
|
</div>
|
|
</template>
|
|
|
|
<style scoped>
|
|
.description {
|
|
white-space: pre-line;
|
|
}
|
|
</style>
|
|
|
|
<script>
|
|
import YtTextFormatter from "~/components/UtilRenderers/YtTextFormatter.vue";
|
|
|
|
export default {
|
|
props: ["render"],
|
|
|
|
components: {
|
|
YtTextFormatter,
|
|
},
|
|
};
|
|
</script>
|