GhostImportDialog
Dialog for importing a ghost device session from JSON. Supports both file upload and paste.
Usage:
if (showImportDialog) {
GhostImportDialog(
onImport = { json -> logic.importGhostSession(json) },
onDismiss = { dispatch(DevToolsAction.HideImportGhostDialog) }
)
}Content copied to clipboard