feat: worker terminal

This commit is contained in:
jialin
2025-10-13 14:40:26 +08:00
parent a9de153c00
commit 1a693f70ac
6 changed files with 163 additions and 3 deletions
@@ -0,0 +1,30 @@
import './footer.less';
import TerminalTabs from './tabs';
export interface TerminalModalProps {
terminals: { url: string; name: string }[];
height: number;
open: boolean;
onClose: () => void;
currentActive?: string;
}
const TerminalModal: React.FC<TerminalModalProps> = ({
terminals,
height,
open,
onClose,
currentActive
}) => {
return (
<div>
<TerminalTabs
terminals={terminals}
height={height}
currentActive={currentActive}
/>
</div>
);
};
export default TerminalModal;