UNPKG

@open-formulieren/formio-builder

Version:

An opinionated Formio webform builder for Open Forms

20 lines (19 loc) 722 B
import { AddressNLComponentSchema } from '@open-formulieren/types'; import { EditFormDefinition } from '../types'; /** * Helper type to extract information from existing types. */ type AddressSubComponents = Required<Required<Required<AddressNLComponentSchema>['openForms']>['components']>; export interface SubcomponentValidationProps { prefix: string; component: keyof AddressSubComponents; label: React.ReactNode; tooltip: string; placeholder: string; } export declare const SubcomponentValidation: React.FC<SubcomponentValidationProps>; /** * Form to configure a Formio 'address' type component. */ declare const EditForm: EditFormDefinition<AddressNLComponentSchema>; export default EditForm;