RSSButton


目录

import { RSSButton } from "~/components";

<RSSButton changelog="Workers" />
<br />
<RSSButton href="/custom/feed.xml" text="Custom Feed" icon="external" />

Props

text

type: string

default: "Subscribe to RSS"

The text to display in the button.

icon

type: string

default: "rss"

The icon to display next to the text. Renders via the Nimbus Icon component; accepts any iconify icon name (for example, ph:rss-simple). The default "rss" maps to ph:rss-simple.

changelog or href

You must provide either changelog or href, but not both:

changelog

type: string

The name of the changelog to link to. This will be transformed into a lowercase, hyphen-separated string and used to construct the RSS feed URL in the format /changelog/rss/{changelog}.xml.

href

type: string


版本号 #2
由 壳壳虫 创建于 2026-11-01 04:38:08 UTC
由 壳壳虫 更新于 2026-11-01 04:38:10 UTC