diff --git a/client/kb-frontend/src/App.jsx b/client/kb-frontend/src/App.jsx
index 2d91765..7f7a81d 100644
--- a/client/kb-frontend/src/App.jsx
+++ b/client/kb-frontend/src/App.jsx
@@ -1,6 +1,7 @@
import { useState, useEffect } from 'react'
import './App.css'
import Header from './components/Header'
+import SearchBar from './SearchBar'
function App() {
const [currentView, setCurrentView] = useState('list');
@@ -42,7 +43,7 @@ function App() {
{currentView === 'list' ? (
<>
- {/**/}
+
{/**/}
>
) : (
diff --git a/client/kb-frontend/src/components/SearchBar.jsx b/client/kb-frontend/src/components/SearchBar.jsx
index e69de29..98c5d55 100644
--- a/client/kb-frontend/src/components/SearchBar.jsx
+++ b/client/kb-frontend/src/components/SearchBar.jsx
@@ -0,0 +1,35 @@
+//import 'SearchBar.css'
+import { useState } from 'react'
+
+function SearchBar({ onSearch }) {
+ const [query, setQuery] = useState('');
+
+ const handleSearch = (e) => {
+ e.preventDefault();
+ onSearch(query);
+ };
+
+ return (
+
+
+
+ );
+}
+
+export default SearchBar
\ No newline at end of file