@tinacms/toolkit
Version:
Tina is a lightweight but powerful toolkit for creating a site editing ui with javascript components. Tina surfaces superpowers for dev’s to create, expand on and customize a simple yet intuitive ui for editing content.
20 lines (16 loc) • 556 B
TypeScript
/**
*/
/// <reference types="react" />
import { InputProps } from '../components';
interface ExtraProps {
placeholder: string;
disabled?: boolean;
}
export declare const TextField: (props: import("./fieldProps").FieldProps<InputProps & ExtraProps>) => JSX.Element;
export declare const TextFieldPlugin: {
name: string;
Component: (props: import("./fieldProps").FieldProps<InputProps & ExtraProps>) => JSX.Element;
validate(value: any, values: any, meta: any, field: any): string;
parse: (value?: string) => string;
};
export {};