Skip to content

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.

Msg

C extends Children<Msg, any>

H<Msg>

ModalOptions<Msg, C>

Child<Msg, Exclude<Requirements<C>, never>>