MDK Logo
ReferenceUI KitReactUI Kit foundationComponentsWidgets

ContainerControlsBox

Control panel for a single container — start/stop, mode select, and operator actions.

Control panel for a single container — start/stop, mode select, and operator actions.

import { ContainerControlsBox } from "@tetherto/mdk-react-devkit";
PropStatusTypeDefaultDescription
dataOptionalDevice | undefined
isBatchOptionalboolean | undefined
isCompactOptionalboolean | undefined
selectedDevicesOptionalDevice[] | undefined
pendingSubmissionsOptionalPendingSubmission[] | undefined
alarmsDataItemsOptionalTimelineItemData[] | undefined
tailLogDataOptionalUnknownRecord[] | undefined
powerModesLogOptionalUnknownRecord | undefined
onNavigateRequired(path: string) => void

Usage

Control panel for a single container providing start/stop actions, operating mode selection, fan controls, and operator shortcuts. Can run in batch mode to drive multiple selected containers simultaneously.

Notes

  • Reads devicesStore and actionsStore internally — seed those stores via the adapter's useDevices / useActions hooks in your app.

Example

import { ContainerControlsBox } from '@tetherto/mdk-react-devkit'export const ContainerControlsBoxExample = () => (  <div className="mdk-example-row">    <ContainerControlsBox      onNavigate={(path) => {        console.warn(`navigate to ${path}`)      }}    />  </div>)