உள்ளடக்கத்துக்குச் செல்
Yuva discussion threadமெனு

Yuva discussion thread

One discussion: the opening post, the accepted answer, replies one level deep, votes, follow, accept, edit and delete, and the reply composer.

முன்னோட்டம் மாதிரித் தரவில் இயங்குகிறது. நெட்வொர்க்கோ சேனலோ தேவையில்லை.

நிறுவல்

இதை ஒரு shadcn திட்டத்தில் இயக்குங்கள். கோப்புகள் உங்கள் சொந்தக் குறியீட்டில் நகலெடுக்கப்படும்.

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

பயன்பாடு

tsx
import { YuvaDiscussionThread } from "@/components/yuva-discussion-thread"

<YuvaDiscussionThread id={id} onBack={() => setId(null)} />

Props

YuvaDiscussionThreadProps

Propவகை
idstring
labels?Partial<YuvaDiscussionsLabels>
className?string
onBack?() => void
onGone?() => void
badges?(discussion: Discussion) => React.ReactNode
votingClosed?(discussion: Discussion) => boolean

லேபிள்கள்

லேபிள்கள் Yuva discussions பக்கத்தில் பட்டியலிடப்பட்டுள்ளன.

சார்புகள்

இந்த உருப்படியை நிறுவினால் கீழுள்ளவையும் சேர்க்கப்படும்.

shadcn/ui கூறுகள்

Yuva-வின் பிற உருப்படிகள்

npm தொகுப்புகள்