import React, { cloneElement } from 'react'; import { useShowController } from 'prophet-core'; import { Card } from 'antd'; export const ShowView = ({ resource, basePath, children, id, title, isLoading, record, }) => ( {record ? cloneElement(children, { resource, basePath, record, id, }) : null} ); const Show = props => ; export default Show;