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

15 lines (14 loc) 616 B
import * as React from 'react'; import { type InputProps } from '../components'; interface ExtraProps { placeholder: string; disabled?: boolean; } export declare const TextField: (props: import("./field-props").FieldProps<InputProps & ExtraProps>) => React.JSX.Element; export declare const TextFieldPlugin: { name: string; Component: (props: import("./field-props").FieldProps<InputProps & ExtraProps>) => React.JSX.Element; validate(value: any, allValues: any, meta: any, field: any): "Required" | "Item with this unique id already exists"; parse: (value?: string) => string; }; export {};