Skip to main content

Module: ui/modal

Functions

open

open(messageOptions): Promise<void>

Parameters

NameType
messageOptionsMessageDataType<"uiModalOpen">

Returns

Promise<void>

Defined in

src/channel.ts:462


close

close(messageOptions): Promise<void>

Parameters

NameType
messageOptionsMessageDataType<"uiModalClose">

Returns

Promise<void>

Defined in

src/channel.ts:462

Type Aliases

uiModalOpen

Ƭ uiModalOpen: Object

Type declaration

NameType
responseTypevoid
titlestring
locationIdstring
variant?"default" | "small" | "large" | "full"
showHeader?boolean
closable?boolean
buttons?buttonProps[]

Defined in

src/ui/modal/index.ts:6


uiModalClose

Ƭ uiModalClose: Object

Type declaration

NameType
responseTypevoid
locationIdstring

Defined in

src/ui/modal/index.ts:17


buttonProps

Ƭ buttonProps: Object

Type declaration

NameType
method() => void
labelstring
variant?"primary" | "ghost" | "danger" | "ghost-danger" | "contrast" | "context"
size?"x-small" | "small" | "large"
square?boolean

Defined in

src/ui/modal/index.ts:23