Components
Type Table
Display type/prop documentation tables.
Usage
Prop
Type
import { TypeTable } from 'fumadocs-ui/components/type-table';
<TypeTable
type={{
name: {
description: 'The name of the field',
type: 'string',
},
required: {
description: 'Whether the field is required',
type: 'boolean',
default: 'false',
},
}}
/>Props
| Prop | Type | Default |
|---|---|---|
| type | Record<string, { type: string; description?: string; default?: string }> | - |