跳至內容
Fumadocs

型別表格

用於說明型別的表格

屬性

型別

Install to your codebase

Easier customization & control.

npx @fumadocs/cli@latest add type-table

使用方式

此元件接受 type 屬性。

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,
    },
  }}
/>

參考資料

型別表格

屬性

型別

物件型別

屬性

型別

How is this guide?

最後更新於