import { RSSButton } from "~/components";
<RSSButton changelog="Workers" />
<br />
<RSSButton href="/custom/feed.xml" text="Custom Feed" icon="ph:arrow-square-out" />type: string
default: "Subscribe to RSS"
ボタンに表示するテキストです。
type: string
default: "rss"
テキストの横に表示するアイコンです。Nimbus の Icon コンポーネントで描画し、任意の iconify アイコン名を受け付けます(例: ph:rss-simple)。デフォルトの "rss" は ph:rss-simple に対応します。
changelog または href のどちらか一方を指定してください。両方は指定できません。
type: string
リンク先にする changelog の名前です。小文字のハイフン区切りに変換し、/changelog/rss/{changelog}.xml 形式の RSS フィード URL を組み立てます。
type: string
リンク先のカスタム URL です。標準の changelog URL パターン以外の RSS フィードへリンクする場合に使います。