Modal
Modal<
Msg,C>(h,options):Child<Msg,Exclude<Requirements<C>,never>>
Defined in: packages/platform-discord/src/components/modal.ts:67
A modal. Rendering it asks Discord to show it on the interaction that led to this render; removing it from the view closes nothing, because Discord owns the modal once shown.
Type Parameters
Section titled “Type Parameters”Msg
C extends Children<Msg, any>
Parameters
Section titled “Parameters”H<Msg>
options
Section titled “options”ModalOptions<Msg, C>
Returns
Section titled “Returns”Child<Msg, Exclude<Requirements<C>, never>>