feat: action context type
This commit is contained in:
10
src/context/browserActions.tsx
Normal file
10
src/context/browserActions.tsx
Normal 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;
|
||||||
|
}
|
||||||
|
|
||||||
Reference in New Issue
Block a user