UNPKG

@musica-sacra/layout

Version:

Layout components for building easy web apps layouts

31 lines (25 loc) 976 B
import * as react_jsx_runtime from 'react/jsx-runtime'; import React, { ReactNode } from 'react'; type ContainerProps = { classname?: string; children?: React.ReactNode; isPageContainer?: boolean; }; declare function Container({ classname, children, isPageContainer, }: ContainerProps): react_jsx_runtime.JSX.Element; type LayoutBasicProps = { children?: React.ReactNode; classname?: string; isPageLayout?: boolean; }; declare function LayoutBasic({ children, classname, isPageLayout, }: LayoutBasicProps): react_jsx_runtime.JSX.Element; type LayoutWithSidebarProps = { className?: string; sidebar: ReactNode; children: ReactNode; isPageLayout?: boolean; }; declare function LayoutWithSidebar({ className, sidebar, children, isPageLayout, }: LayoutWithSidebarProps): react_jsx_runtime.JSX.Element; declare const useSidebar: () => { closeSidebar: () => void; }; export { Container, LayoutBasic, LayoutWithSidebar, useSidebar };