@openmrs/esm-framework
Version:
75 lines (39 loc) • 1.68 kB
Markdown
[@openmrs/esm-framework](../API.md) / Prompt
# Interface: Prompt
## Table of contents
### Workspace Properties
- [body](Prompt.md#body)
- [cancelText](Prompt.md#canceltext)
- [confirmText](Prompt.md#confirmtext)
- [title](Prompt.md#title)
### Methods
- [onConfirm](Prompt.md#onconfirm)
## Workspace Properties
### body
• **body**: `string`
#### Defined in
[packages/framework/esm-styleguide/src/workspaces/workspaces.ts:94](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/workspaces/workspaces.ts#L94)
___
### cancelText
• `Optional` **cancelText**: `string`
Defaults to "Cancel"
#### Defined in
[packages/framework/esm-styleguide/src/workspaces/workspaces.ts:99](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/workspaces/workspaces.ts#L99)
___
### confirmText
• `Optional` **confirmText**: `string`
Defaults to "Confirm"
#### Defined in
[packages/framework/esm-styleguide/src/workspaces/workspaces.ts:96](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/workspaces/workspaces.ts#L96)
___
### title
• **title**: `string`
#### Defined in
[packages/framework/esm-styleguide/src/workspaces/workspaces.ts:93](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/workspaces/workspaces.ts#L93)
## Methods
### onConfirm
▸ **onConfirm**(): `void`
#### Returns
`void`
#### Defined in
[packages/framework/esm-styleguide/src/workspaces/workspaces.ts:97](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/workspaces/workspaces.ts#L97)