Skip to main content
Version: 1.x

ModalProps

ModalProps

The properties for the modal component.

Signature
interface ModalProps {
customId?: string;
title: string;
children?: MaybeArray<ModalKit['components'][number]>;
onSubmit?: OnModalKitSubmit;
onEnd?: OnModalKitEnd;
onError?: EventInterceptorErrorHandler;
options?: CommandKitModalBuilderInteractionCollectorDispatchContextData;
}

customId

property
string

title

property
string

children

property
MaybeArray<ModalKit['components'][number]>

onSubmit

onEnd

onError

options