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

@@ -31,7 +31,7 @@ const meta = await fetchComponentMeta(name as any)
<ProseTd>
<HighlightInlineType v-if="slot.type" :type="slot.type" />
<MDC v-if="slot.description" :value="slot.description" class="text-gray-600 dark:text-gray-300 mt-1" />
<MDC v-if="slot.description" :value="slot.description" class="text-gray-600 dark:text-gray-300 mt-1 whitespace-pre" />
</ProseTd>
</ProseTr>
</ProseTbody>