İçeriğe geç
Yuva ideaMenü

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.

Önizleme örnek verilerle çalışır. Ağa da kanala da ihtiyaç duymaz.

Kurulum

Bunu bir shadcn projesinde çalıştırın. Dosyalar kendi kodunuzun içine kopyalanır.

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

Kullanım

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

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

Prop'lar

YuvaIdeaProps

PropTür
idstring
labels?Partial<YuvaRoadmapLabels>
discussionLabels?Partial<YuvaDiscussionsLabels>
className?string
onBack?() => void
onGone?() => void

Etiketler

Etiketler Yuva roadmap sayfasında listelenir.

Bağımlılıklar

Bu öğeyi kurmak aşağıdakileri de ekler.

shadcn/ui bileşenleri

Diğer Yuva öğeleri