UNPKG

tinacms

Version:

> The Fastest Way to Edit Next.js Content

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