25 lines
409 B
Plaintext
25 lines
409 B
Plaintext
---
|
|
title: 提示框
|
|
description: 在文档中添加提示框
|
|
preview: callout
|
|
---
|
|
|
|
## 使用方法
|
|
|
|
将其添加到您的 MDX 组件中。
|
|
|
|
```tsx
|
|
import { Callout } from 'fumadocs-ui/components/callout';
|
|
|
|
<MDX
|
|
components={{
|
|
Callout,
|
|
}}
|
|
/>;
|
|
```
|
|
|
|
有关用法,请参见 [Markdown](/docs/markdown#callouts)。
|
|
|
|
### 参考
|
|
|
|
{/* <AutoTypeTable path="./content/docs/props.ts" name="CalloutProps" /> */} |