본문으로 건너뛰기
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 항목