浏览文档

旧模板文档

类型表格

用于记录类型的表格

Historical Fumadocs template

旧模板文档为历史链接保留,内容不作为当前 ClaudeSkills 产品指南。

这里保留既有编辑译文;如有最新完整官方参考,会在下方独立提供英文原文。

本页目录

使用方法

它接受一个 type 属性。

import { TypeTable } from 'fumadocs-ui/components/type-table';

<TypeTable
  type={{
    percentage: {
      description:
        '显示滚动按钮的滚动位置百分比',
      type: 'number',
      default: 0.2,
    },
  }}
/>

参考

Type Table

Object Type