feat: create pagination type & update pagination type
This commit is contained in:
@@ -7,6 +7,7 @@ interface ActionContextProps {
|
|||||||
getList: boolean;
|
getList: boolean;
|
||||||
getScreenshot: boolean;
|
getScreenshot: boolean;
|
||||||
paginationMode: boolean;
|
paginationMode: boolean;
|
||||||
|
paginationType: PaginationType;
|
||||||
startPaginationMode: () => void;
|
startPaginationMode: () => void;
|
||||||
startGetText: () => void;
|
startGetText: () => void;
|
||||||
stopGetText: () => void;
|
stopGetText: () => void;
|
||||||
@@ -15,6 +16,7 @@ interface ActionContextProps {
|
|||||||
startGetScreenshot: () => void;
|
startGetScreenshot: () => void;
|
||||||
stopGetScreenshot: () => void;
|
stopGetScreenshot: () => void;
|
||||||
stopPaginationMode: () => void;
|
stopPaginationMode: () => void;
|
||||||
|
updatePaginationType: (type: PaginationType) => void;
|
||||||
}
|
}
|
||||||
|
|
||||||
const ActionContext = createContext<ActionContextProps | undefined>(undefined);
|
const ActionContext = createContext<ActionContextProps | undefined>(undefined);
|
||||||
|
|||||||
Reference in New Issue
Block a user