/// import { ValidationError } from "design-to-code"; import { ControlTemplateUtilitiesProps, StandardControlPlugin } from "../../templates"; import { Controls } from "./types"; export interface DictionaryProps extends Omit { /** * Control plugins */ controls: Controls; /** * The custom control plugins which will be used * instead of the default control plugins */ controlPlugins?: StandardControlPlugin[]; /** * A component dictionary to be used by type */ controlComponents: { [key: string]: React.ComponentClass | React.FunctionComponent; }; /** * A string identifying a custom form control * as identified in the JSON schema by the `formControlId` * property */ formControlId?: string; /** * A list of enumerated properties that should be excluded from * the dictionary */ enumeratedProperties: string[]; /** * An array of example data */ examples: any[]; /** * A label for the dictionary property key */ propertyLabel: string; /** * The additional properties in JSON schema */ additionalProperties: any; /** * The validation errors */ validationErrors: ValidationError[]; }