Files
buzz/components/action-submit-provider.tsx
T
dmgnr 4c6106b99e
Build and Push Image / push (push) Has been cancelled
Build and Push Image / build-backend (push) Has been cancelled
Build and Push Image / build-frontend (push) Has been cancelled
feat(art): switch submit button to ActionButton
2026-09-13 18:05:36 +07:00

14 lines
276 B
TypeScript

"use client";
import { createContext } from "react";
export type ActionSubmitContextData = {
listenForComplete: (complete: () => void) => void;
};
export const ActionSubmitContext = createContext<ActionSubmitContextData>({
listenForComplete: (r) => {
r();
},
});