Przejdź do treści
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.

Podgląd działa na danych przykładowych. Nie potrzebuje sieci ani kanału.

Instalacja

Uruchom to w projekcie shadcn. Pliki zostaną skopiowane do twojego kodu.

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

Użycie

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

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

Props

YuvaIdeaProps

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

Etykiety

Etykiety są wymienione na stronie Yuva roadmap.

Zależności

Instalacja tego elementu dodaje też poniższe.

Komponenty shadcn/ui

Inne elementy Yuva