ModalOptions
Defined in: packages/platform-discord/src/components/modal.ts:54
Type Parameters
Section titled “Type Parameters”Msg
C extends View.Children<Msg>
Properties
Section titled “Properties”children
Section titled “children”
readonlychildren:C
Defined in: packages/platform-discord/src/components/modal.ts:59
customId?
Section titled “customId?”
readonlyoptionalcustomId?:string
Defined in: packages/platform-discord/src/components/modal.ts:56
onSubmit?
Section titled “onSubmit?”
readonlyoptionalonSubmit?:Handler<Msg,ModalSubmitPayload>
Defined in: packages/platform-discord/src/components/modal.ts:58
Receives the submitted values, keyed by each input’s name.
readonlytitle:string
Defined in: packages/platform-discord/src/components/modal.ts:55