UNPKG

@fakel/rest-admin

Version:

An application that makes it easier to work with your API

13 lines (12 loc) 453 B
import React from 'react'; import type { FieldProps, LinkT } from '../../@types'; export declare type ReferenceFieldProps = { reference: string; link: LinkT | false; children: (props?: any) => any; query?: string; queryField?: string; }; export declare const createLink: (link: LinkT, reference: string, source: any) => string; declare const ReferenceField: React.FC<FieldProps & ReferenceFieldProps>; export default ReferenceField;