Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamincanac committed Oct 20, 2023
1 parent 8c6f75f commit 1a3222d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/components/content/ComponentPropsField.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<template>
<Field v-bind="prop">
<code v-if="prop.default">{{ prop.default }}</code>
<p v-if="prop.description">
{{ prop.description }}
</p>

<Collapsible v-if="prop.schema?.kind === 'array' && prop.schema?.schema?.filter(schema => schema.kind === 'object').length">
<FieldGroup v-for="schema in prop.schema.schema" :key="schema.name" class="!mt-0">
Expand Down

0 comments on commit 1a3222d

Please sign in to comment.