UNPKG

@open-formulieren/formio-builder

Version:

An opinionated Formio webform builder for Open Forms

19 lines (18 loc) 861 B
import { SchemaWithDataSrc } from './types'; import { ValuesTableProps } from './values-table'; export interface ValuesConfigProps<T> { name: ValuesTableProps<T>['name']; withOptionDescription?: boolean; } /** * The `ValuesConfig` component allows a form builder to specify available options. * * Certain component types like dropdowns, radio fields and multi-option fields present * a pre-configured list of available options to the end-user. This component is used to * do this pre-configuration. * * Options can either be provided manually upfront, or they can be set dynamically by * referencing other variables in the form evaluation context. */ export declare function ValuesConfig<T extends SchemaWithDataSrc>({ name, withOptionDescription, }: ValuesConfigProps<T>): import("react/jsx-runtime").JSX.Element; export default ValuesConfig;