UnlyEd/next-right-now-admin

View on GitHub
src/types/admin/ReferenceFieldProps.ts

Summary

Maintainability
A
0 mins
Test Coverage
import React from 'react';
import { FieldProps } from './FieldProps';

/**
 * TODO All "any" types are unknown
 *
 * See https://marmelab.com/react-admin/List.html
 */
export type ReferenceFieldProps = {
  sortable: boolean; // Default: true
  label: string;
  reference: string;
  sortBy: string;
} & FieldProps;