ra-core
Version:
Core components of react-admin, a frontend Framework for building admin applications on top of REST services, using ES6, React
19 lines • 644 B
TypeScript
/// <reference types="react" />
import { ListControllerProps, ListControllerResult } from './useListController';
/**
* Render prop version of the useListController hook.
*
* @see useListController
* @example
*
* const ListView = () => <div>...</div>;
* const List = props => (
* <ListController {...props}>
* {controllerProps => <ListView {...controllerProps} {...props} />}
* </ListController>
* )
*/
export declare const ListController: ({ children, ...props }: {
children: (params: ListControllerResult) => JSX.Element;
} & ListControllerProps<any>) => JSX.Element;
//# sourceMappingURL=ListController.d.ts.map