@wandelbots/wandelbots-js-react-components
Version:
React UI toolkit for building applications on top of the Wandelbots platform
20 lines • 1.04 kB
TypeScript
import Stack from "@mui/material/Stack";
import React, { type ReactNode } from "react";
import type { AxisControlComponentColors } from "../../themes/themeTypes";
import type { JoggingDirection } from "./JoggingStore";
type JoggingCartesianAxisControlProps = {
colors?: AxisControlComponentColors;
label: ReactNode;
getDisplayedValue: () => string;
startJogging: (direction: JoggingDirection) => void;
stopJogging: () => void;
disabled?: boolean;
/** If set, the corresponding button will be rendered in the pressed state */
activeJoggingDirection?: JoggingDirection;
} & React.ComponentProps<typeof Stack>;
/** A input widget to control an individual cartesian axis */
export declare const JoggingCartesianAxisControl: (({ colors, label, getDisplayedValue, startJogging, stopJogging, disabled, activeJoggingDirection, ...rest }: JoggingCartesianAxisControlProps) => import("react/jsx-runtime").JSX.Element) & {
displayName: string;
};
export {};
//# sourceMappingURL=JoggingCartesianAxisControl.d.ts.map