@canard/schema-form
Version:
React-based component library that renders forms based on JSON Schema with plugin system support for validators and UI components
10 lines (9 loc) • 426 B
TypeScript
import type { Dictionary } from '../../@aileron/declare';
import type { AttachedFilesMap } from '../../types';
export interface WorkspaceContext {
/** File map, used to attach files for each input */
attachedFilesMap: AttachedFilesMap;
/** User-defined context, merged with global user-defined context */
context: Dictionary;
}
export declare const WorkspaceContext: import("react").Context<WorkspaceContext>;