import * as React from 'react'; import { RaRecord } from "../../types.cjs"; import { ShowControllerProps, ShowControllerResult } from "./useShowController.cjs"; import { ReactNode } from 'react'; /** * Call useShowController and put the value in a ShowContext * * Base class for components, without UI. * * Accepts any props accepted by useShowController: * - id: The record identifier * - resource: The resource * * @example // Custom show layout * * const PostShow = () => ( * * * * * ... * * * * Show instructions... * * *
* Post related links... *
*
* ); */ export declare const ShowBase: ({ authLoading, loading, offline, error, redirectOnError, children, render, ...props }: ShowBaseProps) => React.JSX.Element; export interface ShowBaseProps extends ShowControllerProps { authLoading?: ReactNode; loading?: ReactNode; offline?: ReactNode; error?: ReactNode; children?: React.ReactNode; render?: (props: ShowControllerResult) => React.ReactNode; } //# sourceMappingURL=ShowBase.d.ts.map