UNPKG

@fakel/rest-admin

Version:

An application that makes it easier to work with your API

9 lines (8 loc) 373 B
import React, { FunctionComponent, ComponentClass } from 'react'; import { RouteProps } from 'react-router-dom'; export declare type View = FunctionComponent<any> | ComponentClass<any> | string; declare type ResourceWithLayoutProps = { view?: View; }; declare const ResourceWithLayout: React.FC<ResourceWithLayoutProps & RouteProps>; export default ResourceWithLayout;