Skip to main content

QuickReplies

The prompt and every reply group. Renders nothing when both are empty.

One question. Which license should the search require?

License

Select one
Example
<QuickReplies
prompt={{ preamble: 'One question.', text: 'Which license should the search require?' }}
groups={[{ id: 'license', question: 'License', kind: 'single', options: ['RN', 'NP'] }]}
disabled={false}
onPick={pick}
/>

Props​

PropType
promptPrompt | null
groupsQuickReplyGroup[]
disabledboolean
onPick(option, questionId?) => void
classNamestringAdded on the root element.
styleCSSPropertiesAdded on the root element.

Render it inside SourcingTheme so the Nova tokens apply.