docs: improve props

This commit is contained in:
Benjamin Canac
2024-07-01 17:26:03 +02:00
parent d2be8fdf7d
commit 18311d32d8
3 changed files with 45 additions and 1 deletions

View File

@@ -52,6 +52,8 @@ const metaProps: ComputedRef<ComponentMeta['props']> = computed(() => {
<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" />
<ComponentPropsSchema v-if="prop.schema" :prop="prop" />
</ProseTd>
</ProseTr>
</ProseTbody>