@firecms/core
Version:
Awesome Firebase/Firestore-based headless open-source CMS
35 lines (33 loc) • 887 B
TypeScript
import React from "react";
export declare const DRAWER_WIDTH = 280;
/**
* @group Core
*/
export interface ScaffoldProps {
/**
* Open the drawer on hover
*/
autoOpenDrawer?: boolean;
/**
* Logo to be displayed in the top bar and drawer.
* Note that this has no effect if you are using a custom AppBar or Drawer.
*/
logo?: string;
/**
* If true, the main content will be padded in large layouts. Defaults to true.
*/
padding?: boolean;
className?: string;
style?: React.CSSProperties;
}
/**
* 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
* @group Core
*/
export declare const Scaffold: React.NamedExoticComponent<React.PropsWithChildren<ScaffoldProps>>;