import { Code } from 'lucide-react';
import { useWorkspace } from '../../components/Workspace';

export const CodeEditorHeader = () => {
  const { cwd } = useWorkspace();
  return (
    <>
      <Code className="h-3.5 w-3.5 shrink-0" />
      <span className="text-xs font-medium shrink-0">Code Editor</span>
      <span className="text-[10px] font-mono truncate opacity-60">{cwd}</span>
    </>
  );
};
