ବିଷୟବସ୍ତୁକୁ ଯାଆନ୍ତୁ
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 ପ୍ୟାକେଜ୍