import React, { cloneElement, Children } from 'react'; import { useListController } from 'prophet-core'; import ListActions from './ListActions'; import { Card } from 'antd'; const ListView = ({ children, isLoading, title, actions, ...other }) => { return ( {actions && cloneElement(actions, { ...other })} {children && cloneElement(Children.only(children), { ...other })} ); }; ListView.defaultProps = { actions: , }; const List = props => ; export default List;