跳转到内容
本站为社区维护的非官方中文翻译,与 Cloudflare, Inc. 无关联。本站不提供账户登录,请勿在任何非官方站点输入您的 Cloudflare 账户信息。官方文档:developers.cloudflare.com

示例

最后更新 查看 MarkdownAgent 设置

The Example component is used 200 times on 113 pages.

See all examples of pages that use Example

Used 200 times.

Pages

Partials

使用 <Example> 组件为某些内容添加外边框。当您想要演示或展示某些内容,又不想让其与周围文本混淆时,这非常有用。

import { Example } from "~/components"

<Example>
    Hello, world!
</Example>

{/*
    `title` is an optional string which customizes the title of your example card
*/}

<Example title="Hello world">
    Hello, world!
</Example>

这篇文档对您有帮助吗?