Przejdź do treści
Yuva page feedbackMenu

Yuva page feedback

"Was this page helpful?" with yes and no, sent to Yuva as a page rating.

Was this page helpful?

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-page-feedback.json

Użycie

tsx
import { YuvaPageFeedback } from "@/components/yuva-page-feedback"

<YuvaPageFeedback />

Props

YuvaPageFeedbackProps

PropTyp
page?string
pageTitle?string
labels?Partial<YuvaDiscussionsLabels>
className?string

Etykiety

Każda etykieta ma angielską wartość domyślną. Przekaż częściowy obiekt labels, aby je zmienić lub przetłumaczyć.

EtykietaDomyślnie
feedbackQuestion"Was this page helpful?"
feedbackYes"Yes"
feedbackNo"No"
feedbackThanks"Thanks for your feedback."

Zależności

Instalacja tego elementu dodaje też poniższe.

Komponenty shadcn/ui

Inne elementy Yuva

Pakiety npm