@wandelbots/wandelbots-js-react-components
Version:
React UI toolkit for building applications on top of the Wandelbots platform
31 lines • 1.29 kB
TypeScript
/**
* Enum representing the robot setup readiness state
*/
export declare enum RobotSetupReadinessState {
/** Preconditions are not fulfilled for robot operation */
PRECONDITION_NOT_FULFILLED = "PRECONDITION_NOT_FULFILLED",
/** Robot is disconnected from the system */
ROBOT_DISCONNECTED = "ROBOT_DISCONNECTED",
/** Robot is ready for operation */
READY = "READY"
}
export interface RobotSetupReadinessIndicatorProps {
/** The current setup readiness state of the robot */
setupState: RobotSetupReadinessState;
/** Additional CSS class name */
className?: string;
}
/**
* A state indicator component that displays the current robot setup readiness state.
*
* Features:
* - Shows three states: Precondition not fulfilled, Robot disconnected, Ready
* - Color-coded based on state (ready: tertiary/main, others: error/main)
* - Rendered as Material-UI filled chip with paper-elevation-11 background
* - Includes colored circle indicator (8px width)
* - Localization support via react-i18next
*/
export declare const RobotSetupReadinessIndicator: (({ setupState, className }: RobotSetupReadinessIndicatorProps) => import("react/jsx-runtime").JSX.Element) & {
displayName: string;
};
//# sourceMappingURL=RobotSetupReadinessIndicator.d.ts.map