UNPKG

@hhgtech/hhg-components

Version:
14 lines (13 loc) 477 B
import React, { ReactNode } from 'react'; import { Dispatch, SetStateAction } from 'react'; import { SubotMessage } from "../../../interfaces/types"; type Props = { children?: ReactNode; }; type NodeContextType = { value: SubotMessage; setValue: Dispatch<SetStateAction<SubotMessage>>; }; export declare const NodeContext: React.Context<NodeContextType>; export declare const NodeContextProvider: ({ children }: Props) => React.JSX.Element; export {};