frontend/controls/move/jog_controls_group.tsx
import React from "react";
import { JogControlsGroupProps } from "./interfaces";
import { StepSizeSelector } from "./step_size_selector";
import { JogButtons } from "./jog_buttons";
export const JogControlsGroup = (props: JogControlsGroupProps) =>
<div className={"jog-controls-group"}>
<StepSizeSelector dispatch={props.dispatch} selected={props.stepSize} />
<JogButtons
stepSize={props.stepSize}
botPosition={props.botPosition}
getConfigValue={props.getConfigValue}
arduinoBusy={props.arduinoBusy}
locked={props.locked}
botOnline={props.botOnline}
env={props.env}
imageJobs={props.imageJobs}
logs={props.logs}
dispatch={props.dispatch}
movementState={props.movementState}
highlightAxis={props.highlightAxis}
highlightDirection={props.highlightDirection}
highlightHome={props.highlightHome}
firmwareSettings={props.firmwareSettings} />
</div>;