@premieroctet/next-admin
Version:
Next-Admin provides a customizable and turnkey admin dashboard for applications built with Next.js and powered by the Prisma ORM. It aims to simplify the development process by providing a turnkey admin system that can be easily integrated into your proje
11 lines (10 loc) • 358 B
JavaScript
import { createContext, useContext } from "react";
const AdvancedSearchContext = /*#__PURE__*/ createContext({
addUiBlock: ()=>{},
removeUiBlock: ()=>{},
updateUiBlock: ()=>{},
resource: "",
schema: {}
});
const useAdvancedSearchContext = ()=>useContext(AdvancedSearchContext);
export { AdvancedSearchContext, useAdvancedSearchContext };