import { clsx } from 'clsx'; import type { HTMLAttributes, PropsWithChildren, ReactElement } from 'react'; import { forwardRef } 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 = ({ resizing, useNoisyBackground, useBlurBackground, children, }: WorkspaceRootProps) => { const noisyBackground = useNoisyBackground && environment.isDesktop; return (