@tsed/formio-types
Version:
Formio types definition package for Ts.ED framework
23 lines (18 loc) • 468 B
text/typescript
import type {ExtendedComponentSchema} from "formiojs";
import {FormioForm} from "./FormioForm.js";
export interface FormioComponent extends ExtendedComponentSchema {
type: string;
key: string;
// additional props
template?: string;
dataSrc?: "json" | "url";
data?: {
json?: any;
url?: string;
[key: string]: any;
};
valueProperty?: string;
customConditional?: string;
components?: FormioComponent[];
form?: string | FormioForm;
}