Files
mintlify__docs/zh/components/panel.mdx
locadex-agent[bot] bbb1a08ed3 docs(locadex): update translations (#1778)
Co-authored-by: locadex-agent[bot] <217277504+locadex-agent[bot]@users.noreply.github.com>
2025-11-14 14:44:09 -08:00

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>