import { Controller } from "@tingwujs/core";
import { createContext } from "react";

export interface TingwuContextValue {
  getController: () => Controller | undefined;
}

export const TingwuContext = createContext<TingwuContextValue>({
  getController: () => undefined,
});
