게임 만들기

DialogOptions

Configuration object for `showDialog`.

DialogOptions

Configuration object for showDialog.

Properties

title?

title?: string | undefined

Optional heading rendered at the top.

content

content: string

Body copy. Rich HTML is not supported.

confirmText?

confirmText?: string | undefined

Label for the primary button (default "OK").

cancelText?

cancelText?: string | undefined

Label for the secondary button. If omitted, only one button is shown.

onConfirm?

onConfirm?: (() => void) | undefined

Invoked after the dialog closes via the primary button.

onCancel?

onCancel?: (() => void) | undefined

Invoked after the dialog closes via the secondary button or overlay.