SoarStarter TanStack
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

PropTypeDefault
typeRecord<string, { type: string; description?: string; default?: string }>-

On this page