mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-26 18:00:43 +01:00
docs: highlight inline type code in props table
This commit is contained in:
@@ -50,14 +50,10 @@ console.log('meta.value', meta.value)
|
||||
</ProseCodeInline>
|
||||
</ProseTd>
|
||||
<ProseTd>
|
||||
<ProseCodeInline v-if="prop.default">
|
||||
{{ prop.default }}
|
||||
</ProseCodeInline>
|
||||
<HighlightInlineType v-if="prop.default" :type="prop.default" />
|
||||
</ProseTd>
|
||||
<ProseTd>
|
||||
<ProseCodeInline v-if="prop.type" lang="ts">
|
||||
{{ prop.type }}
|
||||
</ProseCodeInline>
|
||||
<HighlightInlineType v-if="prop.type" :type="prop.type" />
|
||||
|
||||
<ProseP class="mt-1 mb-0 text-gray-500 dark:text-gray-400">
|
||||
{{ prop.description }}
|
||||
|
||||
Reference in New Issue
Block a user