MCPcopy Create free account
hub / github.com/devnullvoid/pvetui / CreateInfoDialog

Function CreateInfoDialog

internal/ui/components/dialogs_creators.go:97–99  ·  view source on GitHub ↗

CreateInfoDialog creates an information dialog.

(title, message string, onClose func())

Source from the content-addressed store, hash-verified

95
96// CreateInfoDialog creates an information dialog.
97func CreateInfoDialog(title, message string, onClose func()) *tview.Modal {
98 return createBaseModal(title, message, theme.Colors.Primary, onClose)
99}
100
101// CreateErrorDialog creates an error dialog.
102func CreateErrorDialog(title, message string, onClose func()) *tview.Modal {

Callers 1

showWizardModalFunction · 0.85

Calls 1

createBaseModalFunction · 0.85

Tested by

no test coverage detected