Skip to content

YesOrNoPrompt

The YesOrNoPrompt component is a simple component that prompts the user to answer a yes or no question. It is a good way to get a quick answer from the user.

PropertyValue
InteractivityInteractive

Usage

swift
let result = await YesOrNoPrompt.render(question: "Would you like to continue?")