import React from "react"; import { Button } from "@/components/ui/button"; import { ArrowRight, AlertTriangle } from "lucide-react"; import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, } from "@/components/ui/tooltip"; import { Action } from "./types"; interface ActionListProps { actions: Action[]; robotModel: string; } const ActionList: React.FC = ({ actions, robotModel }) => { const isLeKiwi = robotModel === "LeKiwi"; const isDisabled = !robotModel || isLeKiwi; return (
{!robotModel && (

Please select a robot model to continue.

)} {isLeKiwi && (

LeKiwi model is not yet supported. Please select another model to continue.

)}
{actions.map((action, index) => (

{action.title}

{action.isWorkInProgress && (

Work in progress

Work in Progress
)}

{action.description}

))}
); }; export default ActionList;