9 lines
174 B
TypeScript
9 lines
174 B
TypeScript
import React, { useContext } from "react";
|
|
|
|
|
|
export const FlowContext = React.createContext<any>({});
|
|
|
|
export function useFlowContext() {
|
|
return useContext(FlowContext);
|
|
}
|