Skip to content

PromptParams.commandBuilder?

PromptParams › commandBuilder?

Type: ModalCommandBuilder

Extra controls — checkboxes, dropdowns and keyboard shortcuts — rendered as a strip along the bottom of the modal, so a caller gets a text input plus options with no bespoke modal of its own.

Hand it a configured ModalCommandBuilder; the modal builds it. The strip is rendered after the buttons, so it sits along the bottom edge where a SuggestModal's instruction bar sits.