UNPKG

@wandelbots/wandelbots-js-react-components

Version:

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

29 lines 1.31 kB
import { type SxProps } from "@mui/material"; import { NovaClient } from "@wandelbots/nova-js/v1"; import { JoggingStore } from "./JoggingStore"; export type JoggingPanelTabId = "cartesian" | "joint"; export type JoggingPanelProps = { /** Either an existing NovaClient or the base url of a deployed Nova instance */ nova: NovaClient | string; /** Id of the motion group to move e.g. 0@ur5e */ motionGroupId: string; /** Callback with the jogging panel's state store for further customization/config */ onSetup?: (store: JoggingStore) => void; /** Any children will go at the bottom of the panel under the default contents */ children?: React.ReactNode; /** Set this to true to disable jogging UI temporarily e.g. when a program is executing */ locked?: boolean; sx?: SxProps; /** * To preserve state while the jogging panel is hidden, you can create and pass a * JoggingStore here and it will be used instead of creating a new one. */ store?: JoggingStore; }; /** * A high-level, opinionated UI panel for jogging a robot using the Wandelbots Platform API */ export declare const JoggingPanel: ((props: JoggingPanelProps) => import("react/jsx-runtime").JSX.Element) & { displayName: string; }; //# sourceMappingURL=JoggingPanel.d.ts.map