DecisionQuestions
Die Fragen an ein Entscheidungsmodell, nur zum Lesen: jede mit ihrem Typ und ihren Anweisungen, dann was Ja und Nein, jede Option oder jede Stufe bedeutet.
- is_invoiceJa/NeinIs this document an invoice or a receipt?
- Ja
- It asks for or confirms a payment
- Nein
- Anything else
- team4 OptionenAuswahlWhich team should handle it?
- finance
- Invoices, refunds and payments
- legal
- Contracts and data requests
- support
- Questions about using Kaeso
- sales
- Plans and quotes
- urgency3 StufenBewertungHow soon does it need an answer?
- 0
- This month: Nothing waits on it
- 1
- This week: Someone waits, but not today
- 2
- Today: Work is blocked until it is answered
- totalBoxWhere is the total on the receipt?
<div className="w-full max-w-480">
<DecisionQuestions questions={triageQuestions} />
</div>import { DecisionQuestions } from "@logicplanes/kaeso-ui/playground";Props
aria-labelstringDer barrierefreie Name der Liste (standardmäßig „Fragen“, in der Sprache des Providers).
layout"list" = listDie Liste der Fragen, mit einer Haarlinie dazwischen.
questionsreadonly DecisionQuestion[]Die Fragen, wie sie gesendet wurden: Art, Name, Anweisungen und was Ja und Nein, die Optionen oder die Stufen bedeuten.