<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [MainModal](./x-components.mainmodal.md)

## MainModal variable

A specialised version of a modal component, made to contain a full search application.

**Signature:**

```typescript
_default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
    animation: {
        type: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
    };
    closeEvents: {
        type: PropType<XEvent[]>;
        default: () => string[];
    };
    focusOnOpen: {
        type: BooleanConstructor;
        default: boolean;
    };
    openEvents: {
        type: PropType<XEvent[]>;
        default: () => string[];
    };
    outOfModalClickEvent: {
        type: PropType<keyof import("../../wiring/events.types").XEventsTypes>;
        default: string;
    };
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
    animation: {
        type: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
    };
    closeEvents: {
        type: PropType<XEvent[]>;
        default: () => string[];
    };
    focusOnOpen: {
        type: BooleanConstructor;
        default: boolean;
    };
    openEvents: {
        type: PropType<XEvent[]>;
        default: () => string[];
    };
    outOfModalClickEvent: {
        type: PropType<keyof import("../../wiring/events.types").XEventsTypes>;
        default: string;
    };
}>> & Readonly<{}>, {
    closeEvents: (keyof import("../../wiring/events.types").XEventsTypes)[];
    focusOnOpen: boolean;
    openEvents: (keyof import("../../wiring/events.types").XEventsTypes)[];
    outOfModalClickEvent: keyof import("../../wiring/events.types").XEventsTypes;
}, {}, {
    BaseEventsModal: import("vue").DefineComponent<{}, {}, any>;
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>
```
