Deletable nodes (#801)
Co-authored-by: Muhammed Salih Altun <muhammedsalihaltun@gmail.com>
This commit is contained in:
9
skyvern-frontend/src/store/DeleteNodeCallbackContext.ts
Normal file
9
skyvern-frontend/src/store/DeleteNodeCallbackContext.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import { createContext } from "react";
|
||||
|
||||
type DeleteNodeCallback = (id: string) => void;
|
||||
|
||||
const DeleteNodeCallbackContext = createContext<DeleteNodeCallback | undefined>(
|
||||
undefined,
|
||||
);
|
||||
|
||||
export { DeleteNodeCallbackContext };
|
||||
Reference in New Issue
Block a user