Module: ui/modal
Functions
open
▸ open(messageOptions
): Promise
<void
>
Parameters
Name | Type |
---|---|
messageOptions | MessageDataType <"uiModalOpen" > |
Returns
Promise
<void
>
Defined in
packages/admin-sdk/src/channel.ts:446
close
▸ close(messageOptions
): Promise
<void
>
Parameters
Name | Type |
---|---|
messageOptions | MessageDataType <"uiModalClose" > |
Returns
Promise
<void
>
Defined in
packages/admin-sdk/src/channel.ts:446
Type Aliases
uiModalOpen
Ƭ uiModalOpen: Object
Type declaration
Name | Type |
---|---|
responseType | void |
title | string |
locationId | string |
variant? | "default" | "small" | "large" | "full" |
showHeader? | boolean |
showFooter? | boolean |
closable? | boolean |
buttons? | buttonProps [] |
Defined in
packages/admin-sdk/src/ui/modal/index.ts:6
uiModalClose
Ƭ uiModalClose: Object
Type declaration
Name | Type |
---|---|
responseType | void |
locationId | string |
Defined in
packages/admin-sdk/src/ui/modal/index.ts:18
buttonProps
Ƭ buttonProps: Object
Type declaration
Name | Type |
---|---|
method | () => void |
label | string |
variant? | "primary" | "ghost" | "danger" | "ghost-danger" | "contrast" | "context" |
size? | "x-small" | "small" | "large" |
square? | boolean |
Defined in
packages/admin-sdk/src/ui/modal/index.ts:24