Skip to content

Commit

Permalink
Added icon to terminal
Browse files Browse the repository at this point in the history
  • Loading branch information
akhatua2 committed Nov 22, 2024
1 parent b07e7ea commit 21b3322
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import React, { useState, useRef, useEffect } from 'react';
import { Socket } from 'socket.io-client'; // Import the Socket type
import './Terminal.css'; // Import the CSS file
import { FaTerminal } from 'react-icons/fa'; // Import the terminal icon

interface TerminalProps {
externalMessages: string[];
Expand Down Expand Up @@ -53,6 +54,7 @@ export const Terminal: React.FC<TerminalProps> = ({ externalMessages, socket })
return (
<div className="terminal-container">
<div id="terminal-header">
<FaTerminal size={12} style={{ marginRight: '8px', verticalAlign: 'middle' }} />
<span className="terminal-title">Terminal</span>
</div>
<div className="terminal-body">
Expand Down

0 comments on commit 21b3322

Please sign in to comment.