mirror of
https://github.com/mintlify/docs.git
synced 2026-09-14 13:35:46 +08:00
bbb1a08ed3
Co-authored-by: locadex-agent[bot] <217277504+locadex-agent[bot]@users.noreply.github.com>
22 lines
666 B
Plaintext
22 lines
666 B
Plaintext
---
|
|
title: "Panel"
|
|
description: "自定义页面右侧面板的内容。"
|
|
keywords: ["sidebar"]
|
|
---
|
|
|
|
你可以使用 `<Panel>` 组件,在页面右侧面板中加入任意组件以实现自定义。
|
|
|
|
如果页面包含 `<Panel>` 组件,则所有 [RequestExample](/zh/components/examples#request-example) 和 [ResponseExample](/zh/components/examples#response-example) 组件都必须置于 `<Panel>` 内。
|
|
|
|
`<Panel>` 中的组件会替换页面的目录。
|
|
|
|
```mdx
|
|
<Panel>
|
|
<Info>将信息固定到侧边面板,或添加任何其他组件。</Info>
|
|
</Panel>
|
|
```
|
|
|
|
<Panel>
|
|
<Info>将 Info 固定到侧边面板,或添加其他任意组件。</Info>
|
|
</Panel>
|