[O3 Framework](../API.md) / ModalDefinition

# Type Alias: ModalDefinition

> **ModalDefinition** = `object`

Defined in: [packages/framework/esm-globals/src/types.ts:217](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/types.ts#L217)

A definition of a modal as extracted from an app's routes.json

## Properties

### component

> **component**: `string`

Defined in: [packages/framework/esm-globals/src/types.ts:225](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/types.ts#L225)

The name of the component exported by this frontend module.

***

### name

> **name**: `string`

Defined in: [packages/framework/esm-globals/src/types.ts:221](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/types.ts#L221)

The name of this modal. This is used to launch the modal.
