跳转到内容
搜索文档

功能特性

最后更新 查看 MarkdownAgent 设置

<Feature> 组件列出了产品中可用的功能特性,并提供了一个使用该功能特性的链接按钮。

header 参数提供功能特性名称,href 参数提供指向该功能特性的链接。包裹在组件中的文本提供描述信息。

import { Feature } from "~/components"

<Feature header="Astro" href="/style-guide/components/feature/">
   Hello, world!
</Feature>
Astro

Hello, world!

这篇文档对您有帮助吗?