import React from "react"; import { DrawerProps } from "./Drawer"; import { FireCMSAppBarProps } from "../components"; export declare const DRAWER_WIDTH = 280; export declare function useDrawer(): DrawerProps; /** * @group Core */ export interface ScaffoldProps { /** * Name of the app, displayed as the main title and in the tab title */ name: React.ReactNode; /** * Logo to be displayed in the drawer of the CMS */ logo?: string; /** * Whether to include the drawer in the scaffold */ includeDrawer?: boolean; /** * You can define a custom drawer to be displayed in the scaffold. * Use the hook `useDrawer` to access the context values. */ drawer?: React.ReactNode; /** * Open the drawer on hover */ autoOpenDrawer?: boolean; /** * A component that gets rendered on the upper side of the main toolbar. * `toolbarExtraWidget` has no effect if this is set. */ FireCMSAppBar?: React.ComponentType>; /** * Additional props passed to the custom AppBar */ fireCMSAppBarProps?: Partial & ExtraAppbarProps; } /** * This view acts as a scaffold for FireCMS. * * It is in charge of displaying the navigation drawer, top bar and main * collection views. * This component needs a parent {@link FireCMS} * * @param props * @constructor * @group Core */ export declare const Scaffold: React.NamedExoticComponent>>;