diff --git a/QandA/frontend/src/Header.tsx b/QandA/frontend/src/Header.tsx index 80e2934..7f88f95 100644 --- a/QandA/frontend/src/Header.tsx +++ b/QandA/frontend/src/Header.tsx @@ -1,13 +1,23 @@ import React from 'react'; import { UserIcon } from './Icons'; -export const Header = () => ( -
- Q & A - - - - Sign In - -
-); +export const Header = () => { + const handleSearchInputChange = (e: React.ChangeEvent) => { + console.log(e.currentTarget.value); + }; + + return ( +
+ Q & A + + + + Sign In + +
+ ); +};