Skip to content

非公式 / UnofficialCloudflare, Inc. 非提携。アカウント情報は入力しないでください。Not affiliated with Cloudflare, Inc. Do not enter Cloudflare credentials here.Official docsこのサイトについてプライバシー

rtk-button

最終更新 Markdown で表示Agent セットアップ

RTK Design System に準拠したボタンです。

プロパティ

プロパティ 型 必須 デフォルト 説明
disabled boolean ✅ - ボタンが無効かどうか
kind ButtonKind ✅ - ボタンの種類
reverse boolean ✅ - 子要素の順序を逆にするかどうか
size Size ✅ - サイズ
type HTMLButtonElement['type'] ✅ - ボタンの種類
variant ButtonVariant ✅ - ボタンのバリアント

使用例

基本的な使い方

<!-- component.html -->
<rtk-button></rtk-button>

プロパティを指定する場合

<!-- component.html -->
<rtk-button
 [disabled]="true"
 [kind]="buttonkind"
 [reverse]="true">
</rtk-button>

役に立ちましたか?