feat: action context type

This commit is contained in:
karishmas6
2024-07-24 19:29:52 +05:30
parent e04c27e122
commit 8716c8fc16

View File

@@ -0,0 +1,10 @@
import React, { createContext, useState, useContext, ReactNode } from 'react';
interface ActionContextType {
getText: boolean;
getScreenshot: boolean;
handleGetText: () => void;
handleGetScreenshot: () => void;
resetActions: () => void;
}