Fumadocs

类型表

用于记录类型的表格

Prop

Type

Install to your codebase

Easier customisation & control.

使用

🌐 Usage

它接受一个 type 属性。

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

参考文献

🌐 References

类型表

🌐 Type Table

Prop

Type

对象类型

🌐 Object Type

Prop

Type

Last updated on

On this page