import { SchemaContextModel } from '@vev/utils'; import React, { ReactNode } from 'react'; type SilkeSchemaScopeProps> = { context: SchemaContextModel; children?: ReactNode; }; const SchemaContext = React.createContext({}); export function useSchemaContext() { return React.useContext(SchemaContext); } export function SilkeSchemaContext>({ context, children, }: SilkeSchemaScopeProps) { return {children}; }