@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.
10 lines (9 loc) • 529 B
TypeScript
/// <reference types="react" />
export declare const ReferenceField: (props: import("./wrapFieldWithMeta").InputFieldType<import("./../components/Reference").ReferenceProps, {}>) => JSX.Element;
export declare const ReferenceFieldPlugin: {
name: string;
type: string;
Component: (props: import("./wrapFieldWithMeta").InputFieldType<import("./../components/Reference").ReferenceProps, {}>) => JSX.Element;
parse: (value?: string) => string;
validate(value: any, values: any, meta: any, field: any): string;
};