Skip to main content

UserPrompt

Function UserPrompt 

Source
pub fn UserPrompt(_: UserPromptProps) -> Element
Expand description

A question an agent puts to the user, as a form. onsubmit receives nothing: read the answer from the controls’ own state. With region it is a plain named section, for when there is nothing to submit.

§Props

For details, see the props struct definition.