import React from "react"; import type { ResponseMessageShell } from "../utils/responseShell"; export default function ResponseShellCard({ shell, compact = false }: { shell: ResponseMessageShell; compact?: boolean }) { const textSize = compact ? "text-xs" : "text-sm"; return (
Result: {shell.result}
{shell.why.length ? (
Why
) : null} {shell.next_action.length ? (
Next action
) : null}
); }