{
  "name": "SwitchJourneyActionConfig",
  "package": "@magicblocksai/ui",
  "file": "packages/ui/src/components/SwitchJourneyActionConfig.tsx",
  "chapterTag": "18 Agent Builder",
  "chapter": "18-agent-builder.html",
  "sectionId": "actions",
  "elName": "Switch Journey &amp; Human Takeover &mdash; <em style=\"font-family:var(--f-serif); font-weight:400;\">conditional panels</em>",
  "demoUrl": "https://brand.magicblocks.ai/components/18-agent-builder#actions",
  "hasLiveDemo": false,
  "description": "Custom config panel for **Switch Journey** — directs the agent to a different\njourney block and/or channel. Composes `<Select>` (block + channel + sms\nsender) and `<Switch>` (channel toggle), with a conditional follow-up\nsection (`<Select>` + `<MessageField>`) shown only while staying on the\ncurrent block — mirroring v1's `shouldShowSwitchJourneyFollowUpControls`.",
  "useClient": true,
  "interactivity": "interactive",
  "namedExports": [
    {
      "name": "SwitchJourneyActionConfig",
      "isPrincipal": true,
      "isType": false
    }
  ],
  "importStatement": "import { SwitchJourneyActionConfig } from \"@magicblocksai/ui\";",
  "props": [],
  "classesUsed": [
    "action-config-section",
    "action-config-stack",
    "field-help",
    "field-label",
    "field-row",
    "field-row-switch"
  ],
  "examples": {
    "react": null,
    "html": null,
    "css": ".action-config-section { display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-3); border: 1px solid var(--hair); border-radius: var(--r-sm); background: var(--bg-warm); }\n\n.action-config-stack { display: flex; flex-direction: column; gap: var(--s-4); }\n\n.field-help { font: 400 11.5px/1.4 var(--f-body); color: var(--fg-faint); margin: 0; }\n\n.field-label { font: 600 12.5px/1.3 var(--f-body); color: var(--fg); }\n\n.field-row { display: flex; flex-direction: column; gap: 6px; }\n\n.field-row-switch { flex-direction: row; align-items: center; gap: var(--s-2); }"
  }
}
