Interface defining the options (props) for the MenuModal component.

interface MenuModalOptions {
    backgroundColor?: string;
    isVisible: boolean;
    onClose: (() => void);
    customButtons?: CustomButton[];
    shareButtons?: boolean;
    position?:
        | "topLeft"
        | "topRight"
        | "bottomLeft"
        | "bottomRight";
    roomName: string;
    adminPasscode: string;
    islevel: string;
    eventType: EventType;
    localLink?: string;
}

Properties

backgroundColor?: string

The background color of the modal content.

"#83c0e9"
isVisible: boolean

Determines if the modal is visible.

onClose: (() => void)

Function to call when the modal is closed.

customButtons?: CustomButton[]

An array of custom buttons to display in the modal.

shareButtons?: boolean

Determines if share buttons should be displayed.

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

Position of the modal on the screen. Possible values: "topRight", "topLeft", "bottomRight", "bottomLeft"

"bottomRight"
roomName: string

The name of the room.

adminPasscode: string

The admin passcode for the meeting.

islevel: string

The level of the user.

eventType: EventType

The type of event.

localLink?: string

The link to the Commnity Edition server.