- {/* Shared: Button Color */}
-
-
-
+ {/* Shared: Button Text + Button Color */}
+
{/* Floating mode: Position */}
@@ -345,52 +357,29 @@ export function EmbedDialog({
)}
- {/* Inline mode: Button Text, CTA Text */}
+ {/* Inline mode: Call to Action Text */}
{embedMode === "inline" && (
- <>
-
- >
+
+
+ setCallToActionText(e.target.value)}
+ placeholder="Click to start voice conversation"
+ />
+
)}
{/* Preview */}
{embedMode === "floating" ? (
-
-
+
+ {buttonText || "Talk to Agent"}
+
) : (