import type { ReactNode, JSX } from 'react';

interface WorkspaceProps {
  children: ReactNode;
}

export function Workspace({ children }: WorkspaceProps): JSX.Element {
  return (
    <main className="flex-1 overflow-hidden flex flex-col bg-background">
      <div className="flex-1 overflow-auto p-6">
        {children}
      </div>
    </main>
  );
}
