@open-formulieren/formio-builder
Version:
An opinionated Formio webform builder for Open Forms
16 lines (15 loc) • 532 B
TypeScript
export interface ValidatorOption {
id: string;
label: string;
}
/**
* Fetch the available validator plugins and display them in a multiselect.
*
* This requires an async function `getValidatorPlugins` to be provided to the
* BuilderContext which is responsible for retrieving the list of available plugins.
*
* If a fetch error occurs, it is thrown during rendering - you should provide your
* own error boundary to catch this.
*/
declare const ValidatorPluginSelect: React.FC;
export default ValidatorPluginSelect;