Type Alias ModalTemplatePropsBeta

ModalTemplateProps: CustomTemplateIframeProps & {
    isModalOpen: boolean;
    modalProps?: ModalProps;
    onCancel?: (() => void);
    onComplete?: (() => void);
    setIsModalOpen: ((open: boolean) => void);
    taskID?: string;
}

Type representing the properties for a modal template, extending CustomTemplateIframeProps.

Type declaration

  • BetaisModalOpen: boolean

    Whether the modal is open.

  • Optional BetamodalProps?: ModalProps

    Optional properties for the modal.

  • OptionalonCancel?: (() => void)

    Callback function to be called on cancel.

      • (): void
      • Returns void

  • OptionalonComplete?: (() => void)

    Callback function to be called on completion.

      • (): void
      • Returns void

  • setIsModalOpen: ((open: boolean) => void)

    Function to set the open state of the modal.

      • (open): void
      • Parameters

        • open: boolean

          The new open state of the modal.

        Returns void

  • Optional BetataskID?: string

    The task ID associated with the modal.