使用 <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>