datatable reading local storage

This commit is contained in:
2024-02-18 11:37:30 +03:30
parent d89e86813d
commit 0d35263ca2
6 changed files with 251 additions and 6 deletions

View File

@@ -0,0 +1,9 @@
import {useContext} from "react";
import {TableSettingContext} from "../contexts/tableSetting";
const useUser = () => {
const {settingStore, hideAction, sortAction, filterAction} = useContext(TableSettingContext);
return {settingStore, hideAction, sortAction, filterAction};
};
export default useUser;