docs(ComponentSlots): hide ui slot prop content

This commit is contained in:
Benjamin Canac
2025-07-08 11:48:03 +02:00
parent 6519a74de4
commit c1427a3264

View File

@@ -34,7 +34,7 @@ const meta = await fetchComponentMeta(name as any)
</ProseCode> </ProseCode>
</ProseTd> </ProseTd>
<ProseTd> <ProseTd>
<HighlightInlineType v-if="slot.type" :type="slot.type" /> <HighlightInlineType v-if="slot.type" :type="slot.type.replace(/ui:\s*\{[^}]*\}/g, 'ui: {}')" />
<MDC v-if="slot.description" :value="slot.description" class="text-toned mt-1" :cache-key="`${kebabCase(route.path)}-${slot.name}-description`" /> <MDC v-if="slot.description" :value="slot.description" class="text-toned mt-1" :cache-key="`${kebabCase(route.path)}-${slot.name}-description`" />
</ProseTd> </ProseTd>