UNPKG

@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.

27 lines (23 loc) 500 B
/** */ import * as React from 'react'; declare type Option = { value: string; label: string; }; export interface ReferenceFieldProps { label?: string; name: string; component: string; collections: string[]; options: (Option | string)[]; } export interface ReferenceProps { name: string; input: any; field: ReferenceFieldProps; disabled?: boolean; options?: (Option | string)[]; } export declare const Reference: React.FC<ReferenceProps>; export {};