Type Table
A table for documenting types
Prop | Type | Default |
---|---|---|
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,
},
}}
/>
References
Type Table
Prop | Type | Default |
---|---|---|
type | Record<string, ObjectType> | - |
Object Type
Prop | Type | Default |
---|---|---|
deprecated? | boolean | - |
required? | boolean | - |
default? | string | - |
typeDescriptionLink? | string | - |
typeDescription? | ReactNode | - |
type | string | - |
description? | ReactNode | - |
How is this guide?
Last updated on