DecisionQuestions
向决策模型提出的问题,只读:每个问题的类型和说明,以及“是”和“否”、每个选项或每个等级的含义。
- is_invoice是/否Is this document an invoice or a receipt?
- 是
- It asks for or confirms a payment
- 否
- Anything else
- team4 个选项选择Which team should handle it?
- finance
- Invoices, refunds and payments
- legal
- Contracts and data requests
- support
- Questions about using Kaeso
- sales
- Plans and quotes
- urgency3 个等级评分How 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
- total边界框Where is the total on the receipt?
<div className="w-full max-w-480">
<DecisionQuestions questions={triageQuestions} />
</div>import { DecisionQuestions } from "@logicplanes/kaeso-ui/playground";属性
aria-labelstring列表的无障碍名称(默认为“问题”,使用提供方的语言)。
layout"list" = list问题列表,问题之间有一条细线。
questionsreadonly DecisionQuestion[]按发送时的样子显示的问题:类型、名称、说明,以及“是”和“否”、各选项或各等级的含义。