- Implement CameraFeed context and provider with reducer for state management
- able to switch footage on tab clicks
This commit is contained in:
@@ -95,3 +95,12 @@ export type OptionalBOF2LaneIDs = {
|
||||
LID2?: string;
|
||||
LID3?: string;
|
||||
};
|
||||
|
||||
export type CameraFeedState = {
|
||||
cameraFeedID: "A" | "B" | "C" | null;
|
||||
};
|
||||
|
||||
export type CameraFeedAction = {
|
||||
type: string;
|
||||
payload: "A" | "B" | "C" | null;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user