Skip to content

Commit

Permalink
Use react icons instead
Browse files Browse the repository at this point in the history
  • Loading branch information
walidkayhan committed Sep 10, 2024
1 parent 20c5ead commit 665a609
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/app/src/features/Console/TerminalInput.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { useRef } from 'react';
import { LuCopy } from 'react-icons/lu';

import { Button } from 'components/shadcn/Button';
import { Input } from 'components/shadcn/Input';

import controller from 'lib/controller';
import { CopyIcon } from 'lucide-react';

const TerminalInput = () => {
const inputRef = useRef<HTMLInputElement>(null);
Expand Down Expand Up @@ -33,6 +33,7 @@ const TerminalInput = () => {
handleCommandExecute();
break;
}
// TODO: add these back in
// case 'Backspace': {
// const { value } = e.target;
// //If there is only one character left and the user has pressed the backspace,
Expand Down Expand Up @@ -62,8 +63,9 @@ const TerminalInput = () => {
}}
/>

<Button variant="default" className="border">
<CopyIcon />
{/* TODO: add copy to clipboard functionality back in */}
<Button className="border">
<LuCopy />
</Button>

<Button
Expand Down

0 comments on commit 665a609

Please sign in to comment.