Vai al contenuto
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?

L'anteprima usa dati di esempio. Non richiede rete né canale.

Installazione

Esegui questo in un progetto shadcn. I file vengono copiati nel tuo codice.

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

Utilizzo

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

<YuvaPageFeedback />

Props

YuvaPageFeedbackProps

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

Etichette

Ogni etichetta ha un valore predefinito in inglese. Passa un oggetto labels parziale per modificarle o tradurle.

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

Dipendenze

Installare questo elemento aggiunge anche quanto segue.

Componenti di shadcn/ui

Altri elementi Yuva

Pacchetti npm