import { ReactElement } from 'react'; import PropTypes from 'prop-types'; import { ShowProps } from '../types'; /** * Page component for the Show view * * The `` component renders the page title and actions, * fetches the record from the data provider. * It is not responsible for rendering the actual form - * that's the job of its child component (usually ``), * to which it passes the `record` as prop. * * The component accepts the following props: * * - actions * - aside * - component * - title * * @example * * // in src/posts.js * import * as React from "react"; * import { Show, SimpleShowLayout, TextField } from '../../app'; * * export const PostShow = (props) => ( * * * * * * ); * * // in src/App.js * import * as React from "react"; * import { Admin, Resource } from '../../app'; * * import { PostShow } from './posts'; * * const App = () => ( * * * * ); * export default App; */ export declare const Show: { (props: ShowProps & { children: ReactElement; }): ReactElement; propTypes: { actions: PropTypes.Requireable; aside: PropTypes.Requireable; children: PropTypes.Requireable; classes: PropTypes.Requireable; className: PropTypes.Requireable; hasCreate: PropTypes.Requireable; hasEdit: PropTypes.Requireable; hasList: PropTypes.Requireable; hasShow: PropTypes.Requireable; id: PropTypes.Validator; resource: PropTypes.Requireable; title: PropTypes.Requireable; }; };