@opalkelly/frontpanel-react-components
Version:
React Component Library for OpalKelly FrontPanel application development
16 lines (15 loc) • 559 B
TypeScript
/**
* Copyright (c) 2024 Opal Kelly Incorporated
*
* This source code is licensed under the FrontPanel license.
* See the LICENSE file found in the root directory of this project.
*/
import React from "react";
import { IFrontPanel, IFrontPanelEventSource, WorkQueue } from "@opalkelly/frontpanel-platform-api";
export type FrontPanelContextValue = {
device?: IFrontPanel;
workQueue?: WorkQueue;
eventSource?: IFrontPanelEventSource;
};
declare const FrontPanelContext: React.Context<FrontPanelContextValue>;
export default FrontPanelContext;