Interface defining the options for the ShareEventModal component.

interface ShareEventModalOptions {
    backgroundColor?: string;
    isShareEventModalVisible: boolean;
    onShareEventClose: (() => void);
    shareButtons?: boolean;
    position?:
        | "center"
        | "topLeft"
        | "topRight"
        | "bottomLeft"
        | "bottomRight";
    roomName: string;
    adminPasscode?: string;
    islevel?: string;
    eventType: EventType;
    localLink?: string;
}

Properties

backgroundColor?: string

Background color of the modal content. Defaults to 'rgba(255, 255, 255, 0.25)'.

isShareEventModalVisible: boolean

Flag to control the visibility of the modal.

onShareEventClose: (() => void)

Callback function to handle the closing of the modal.

shareButtons?: boolean

Flag to control the visibility of share buttons. Defaults to true.

position?:
    | "center"
    | "topLeft"
    | "topRight"
    | "bottomLeft"
    | "bottomRight"

Position of the modal on the screen. Possible values: 'topLeft', 'topRight', 'bottomLeft', 'bottomRight', 'center'. Defaults to 'topRight'.

roomName: string

The name of the room to be shared.

adminPasscode?: string

The admin passcode for the meeting.

islevel?: string

The level of the user.

eventType: EventType

The type of the event.

localLink?: string

The link to the local server.