import { ReactNode } from 'react'; /** * Modal component that opens via url hash, allowing admin content to open modals * by configuring href attribute of links. * * Content for the modal can be add by passing `children` as an object with the * appropriate url hash as key and component to be rendered as value. * * As the `HashModal` will likely be added to the RootLayout, in order to be * available on every page, best practice is to lazy load the content to minimize * client side javascript on load. * * @example * ```tsx * * {{ * '#arrange-a-valuation': , * '#book-a-viewing': , * }} * * ``` */ export default function HashModal({ children, className, closeClassName, closeInner, }: { children: { [hash: string]: ReactNode; }; className?: string; overlayClassName?: string; closeClassName?: string; closeInner?: ReactNode; }): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=hash-modal.component.d.ts.map