Files
gpustack-ui/src/pages/_components/terminal-tabs/index.tsx
T
2025-10-13 14:40:26 +08:00

31 lines
544 B
TypeScript

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;