コンテンツへスキップ
Yuva ideaメニュー

Yuva idea

One roadmap idea: its stage, the opening post with a vote button (closed for shipped and closed ideas), replies and the reply composer, built on the discussion thread.

プレビューはサンプルデータで動作します。ネットワークもチャネルも不要です。

インストール

shadcn プロジェクトで実行してください。ファイルはあなた自身のコードにコピーされます。

Shell
npx shadcn@latest add https://useyuva.com/r/yuva-idea.json

使い方

tsx
import { YuvaIdea } from "@/components/yuva-idea"

<YuvaIdea id={ideaId} onBack={() => setIdea(null)} />

Props

YuvaIdeaProps

Prop型
idstring
labels?Partial<YuvaRoadmapLabels>
discussionLabels?Partial<YuvaDiscussionsLabels>
className?string
onBack?() => void
onGone?() => void

ラベル

ラベルの一覧は Yuva roadmap にあります。

依存関係

この項目をインストールすると、次のものも追加されます。

shadcn/ui のコンポーネント

その他の Yuva 項目