feat: create pagination type & update pagination type

This commit is contained in:
karishmas6
2024-09-06 23:08:47 +05:30
parent 7fa01d97a1
commit 3e2a47e0b3

View File

@@ -7,6 +7,7 @@ interface ActionContextProps {
getList: boolean;
getScreenshot: boolean;
paginationMode: boolean;
paginationType: PaginationType;
startPaginationMode: () => void;
startGetText: () => void;
stopGetText: () => void;
@@ -15,6 +16,7 @@ interface ActionContextProps {
startGetScreenshot: () => void;
stopGetScreenshot: () => void;
stopPaginationMode: () => void;
updatePaginationType: (type: PaginationType) => void;
}
const ActionContext = createContext<ActionContextProps | undefined>(undefined);