UNPKG

synapse-react-client

Version:

[![npm version](https://badge.fury.io/js/synapse-react-client.svg)](https://badge.fury.io/js/synapse-react-client) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettie

14 lines 635 B
import RJSFForm from '@rjsf/core'; import { GenericObjectType, RJSFSchema } from '@rjsf/utils'; import { JSONSchema7Definition } from 'json-schema'; import { Ref } from 'react'; export type JSONArrayEditorProps<T = unknown> = { value?: T[]; arrayItemDefinition?: JSONSchema7Definition; onChange: (newValue: T[]) => void; onSubmit: (formData: T[]) => void; formRef?: Ref<RJSFForm<T, RJSFSchema, GenericObjectType>>; }; declare function JSONArrayEditor<T = unknown>(props: JSONArrayEditorProps<T>): import("react/jsx-runtime").JSX.Element; export default JSONArrayEditor; //# sourceMappingURL=JSONArrayEditor.d.ts.map