/// import { ListProps, ListControllerProps } from './useListController'; import { Translate } from '../types'; interface ListControllerComponentProps extends ListControllerProps { translate: Translate; } interface Props extends ListProps { children: (params: ListControllerComponentProps) => JSX.Element; } /** * Render prop version of the useListController hook. * * @see useListController * @example * * const ListView = () =>
...
; * const List = props => ( * * {controllerProps => } * * ) */ declare const ListController: ({ children, ...props }: Props) => JSX.Element; export default ListController;