UNPKG

tinacms

Version:

[![GitHub license](https://img.shields.io/github/license/tinacms/tinacms?color=blue)](https://github.com/tinacms/tinacms/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/tinacms.svg?style=flat)](https://www.npmjs.com/package/tinacms) [![Bui

43 lines (42 loc) 1.33 kB
import type { Form } from '../forms'; import * as React from 'react'; import { type FC } from 'react'; export interface FormBuilderProps { form: { tinaForm: Form; activeFieldName?: string; }; hideFooter?: boolean; label?: string; onPristineChange?: (_pristine: boolean) => unknown; } export declare const FormBuilder: FC<FormBuilderProps>; export declare const FormStatus: ({ pristine }: { pristine: boolean; }) => React.JSX.Element; export declare const FormWrapper: ({ id, children, }: { id: string; children: React.ReactNode; }) => React.JSX.Element; /** * @deprecated * Original misspelt version of CreateBranchModal */ export declare const CreateBranchModel: ({ close, safeSubmit, relativePath, values, crudType, }: { safeSubmit: () => Promise<void>; close: () => void; relativePath: string; values: Record<string, unknown>; crudType: string; }) => React.JSX.Element; export declare const CreateBranchModal: ({ close, safeSubmit, path, values, crudType, }: { safeSubmit: () => Promise<void>; close: () => void; path: string; values: Record<string, unknown>; crudType: string; }) => React.JSX.Element; export declare const PrefixedTextField: ({ prefix, ...props }: { [x: string]: any; prefix?: string; }) => React.JSX.Element;