@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.
16 lines (15 loc) • 603 B
TypeScript
/// <reference types="react" />
import { InputProps } from '../components';
interface ImageProps {
path: string;
uploadDir?(formValues: any): string;
clearable?: boolean;
}
export declare const ImageField: (props: import("./wrapFieldWithMeta").InputFieldType<InputProps, ImageProps>) => JSX.Element;
export declare const ImageFieldPlugin: {
name: string;
Component: (props: import("./wrapFieldWithMeta").InputFieldType<InputProps, ImageProps>) => JSX.Element;
parse: (value?: string) => string;
validate(value: any, values: any, meta: any, field: any): string;
};
export {};