UNPKG

@wandelbots/wandelbots-js-react-components

Version:

React UI toolkit for building applications on top of the Wandelbots platform

26 lines 1.24 kB
import type { RobotControllerStateOperationModeEnum, RobotControllerStateSafetyStateEnum } from "@wandelbots/nova-js/v1"; import { ProgramState } from "./ProgramControl"; export interface ProgramStateIndicatorProps { /** The current state of the program */ programState: ProgramState; /** The current safety state of the robot controller */ safetyState: RobotControllerStateSafetyStateEnum; /** The current operation mode of the robot controller */ operationMode: RobotControllerStateOperationModeEnum; /** Additional CSS class name */ className?: string; } /** * A state indicator component that displays the current program execution state * combined with robot controller safety and operation mode states. * * Features: * - Combines program state with safety and operation mode states * - Color-coded based on state severity (success, warning, error) * - Rendered as Material-UI filled chip * - Localization support via react-i18next */ export declare const ProgramStateIndicator: (({ programState, safetyState, operationMode, className, }: ProgramStateIndicatorProps) => import("react/jsx-runtime").JSX.Element) & { displayName: string; }; //# sourceMappingURL=ProgramStateIndicator.d.ts.map