tinacms
Version:
> The Fastest Way to Edit Next.js Content
22 lines (21 loc) • 490 B
TypeScript
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 {};