@open-formulieren/formio-builder
Version:
An opinionated Formio webform builder for Open Forms
19 lines (18 loc) • 755 B
TypeScript
import { Option } from '@open-formulieren/types';
import { PathsForValueType } from '../../../types';
export interface ValuesTranslationsProps<S> {
/**
* Name of the field holding the (component) values, e.g. `values` or `data.values`.
*/
name: PathsForValueType<S, Option[]> & string;
withOptionDescription?: boolean;
}
/**
* Manage the values/options translations for a component.
*
* This component is intended to be passed as a child component to
* `ComponentTranslations` so that all translations are managed in a single
* tab.
*/
export declare function ValuesTranslations<S>({ name, withOptionDescription }: ValuesTranslationsProps<S>): import("react/jsx-runtime").JSX.Element | null;
export default ValuesTranslations;