import * as React from 'react'; import {LayoutArgs, layouts, Span} from '@tesseract-design/viewfinder-base'; export type RootProps = React.HTMLProps & { topBarWidget?: React.ReactNode; } export const Root = React.forwardRef(({ children, topBarWidget, ...etcProps }, ref) => ( <> {topBarWidget}
{children}
)); Root.displayName = 'Root'; export type ContentContainerProps = Omit, 'span'> & { span?: Span, } export const ContentContainer = React.forwardRef(({ children, span = Span.NORMAL, }, ref) => { const args = React.useMemo(() => ({ span, mainSidebarOpen: false, }), [ span ]); return (
{children}
) }); ContentContainer.displayName = 'ContentContainer'