Fumadocs

Type Table

A table for documenting types

PropTypeDefault
percentage
number
0.2

Usage

It accepts a type property.

import { TypeTable } from 'fumadocs-ui/components/type-table';
 
<TypeTable
  type={{
    percentage: {
      description:
        'The percentage of scroll position to display the roll button',
      type: 'number',
      default: 0.2,
    },
  }}
/>

Type Table

PropTypeDefault
type
Record<string, ObjectType>
-

Object Type

PropTypeDefault
description
ReactNode
-
type
string
-
typeDescription
string
-
typeDescriptionLink
string
-
default
string
-

Last updated on

On this page

Edit on GitHub