docs(ComponentProps/ComponentSlots): add whitespace pre

This commit is contained in:
Benjamin Canac
2024-07-30 16:45:42 +02:00
parent 4dd799748b
commit 2c6295d479
2 changed files with 2 additions and 2 deletions

View File

@@ -75,7 +75,7 @@ const metaProps: ComputedRef<ComponentMeta['props']> = computed(() => {
<ProseTd>
<HighlightInlineType v-if="prop.type" :type="prop.type" />
<MDC v-if="prop.description" :value="prop.description" class="text-gray-600 dark:text-gray-300 mt-1" />
<MDC v-if="prop.description" :value="prop.description" class="text-gray-600 dark:text-gray-300 mt-1 whitespace-pre" />
<ComponentPropsSchema v-if="prop.schema" :prop="prop" />
</ProseTd>