UNPKG

@brizy/media-gallery

Version:
22 lines (21 loc) 860 B
import * as React from "react"; import { Props as DropFilesProps } from "~/components/DropFiles"; import { Colors } from "~/utils/colors"; export interface IMainLayoutProps { Sidebar?: React.ReactNode; Header?: React.ReactNode; Content?: React.ReactNode; Footer?: React.ReactNode; onUpload?: DropFilesProps["onUpload"]; height: DropFilesProps["height"]; colors: Colors; } /** * This is a shortcode to prevent repeating the same Page>Section boilerplate. * * I am not sure if flexibility benefits of `react-page-layout` are need in this project. * If later in all pages will be used only this component * (instead of fancy multi-layout and Page>Section combinations) * then `react-page-layout` can be removed and this component converted into a regular one. */ export declare const MainLayout: React.FC<IMainLayoutProps>;