@open-formulieren/formio-builder
Version:
An opinionated Formio webform builder for Open Forms
21 lines (20 loc) • 754 B
TypeScript
/// <reference types="react" />
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;