import { clsx } from 'clsx'; import type { FC, PropsWithChildren, ReactElement } from 'react'; import { AppSidebarFallback } from '../app-sidebar'; import { appStyle, mainContainerStyle, toolStyle } from './index.css'; export type WorkspaceRootProps = PropsWithChildren<{ resizing?: boolean; useNoisyBackground?: boolean; useBlurBackground?: boolean; }>; export const AppContainer: FC = ({ resizing, useNoisyBackground, useBlurBackground, children, }) => { const noisyBackground = useNoisyBackground && environment.isDesktop && environment.isMacOs; return (
{children}
); }; export type MainContainerProps = PropsWithChildren<{ className?: string; }>; export const MainContainer = (props: MainContainerProps): ReactElement => { return (
{props.children}
); }; export const ToolContainer = (props: PropsWithChildren): ReactElement => { return
{props.children}
; }; export const WorkspaceFallback = (): ReactElement => { return ( ); };