Lompat ke konten
Yuva ideaMenu

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.

Pratinjau berjalan dengan data contoh. Tidak butuh jaringan maupun kanal.

Instalasi

Jalankan ini di proyek shadcn. File disalin ke kode Anda sendiri.

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

Penggunaan

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

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

Props

YuvaIdeaProps

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

Label

Label tercantum di Yuva roadmap.

Dependensi

Menginstal item ini juga menambahkan yang berikut.

Komponen dari shadcn/ui

Item Yuva lainnya