nocobase/packages/client/src/context.ts
2021-08-19 17:03:25 +08:00

6 lines
198 B
TypeScript

import { createContext } from "react";
import { Schema } from "@formily/react";
export const VisibleContext = createContext<any>([]);
export const BlockSchemaContext = createContext<Schema>(null);