Skip to content

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

Details

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

The Details component is used 1002 times on 342 pages.

See all examples of pages that use Details

Used 1002 times.

Pages

Partials

補足情報を文脈の中で示したいが、より重要な内容を煩雑にしたくないときは、<Details> で折りたたみコンテナを追加します。

import { Details } from "~/components";

<Details header="Open me!">Hello, world!</Details>

<Details> コンポーネントの各インスタンスについて、デフォルトの状態(最初から開くか閉じるか)を指定できます。

import { Details } from "~/components";

<Details header="Close me!" open={true}>
	Long piece of code example.
</Details>

追加の案内

主な回答や中核となる手順は、タブや折りたたみセクションの中だけに置かず、必ず本文の流れに書いてください。

タブは、一般的な概念を述べたあとに、プラットフォーム固有の違い(たとえば Dashboard、API、Terraform)に使います。Details は補足情報向けであり、主な回答には使いません。

プロパティ

  • header string required

  • id string optional

    HTML 要素に特定の id を付けます

  • open boolean optional

役に立ちましたか?