2023-02-06 13:27:28 -05:00
|
|
|
import React from 'react';
|
|
|
|
|
import NavLink from './NavLink';
|
2023-02-07 10:26:19 -05:00
|
|
|
import LogOutIcon from '../svg/LogOutIcon';
|
2023-03-18 01:40:49 -04:00
|
|
|
import SearchBar from './SearchBar';
|
2023-02-08 09:15:47 -05:00
|
|
|
import ClearConvos from './ClearConvos';
|
|
|
|
|
import DarkMode from './DarkMode';
|
2023-03-14 01:24:43 +08:00
|
|
|
import Logout from './Logout';
|
2023-02-06 13:27:28 -05:00
|
|
|
|
2023-03-18 15:59:59 -04:00
|
|
|
export default function NavLinks({ fetch, onSearchSuccess, clearSearch }) {
|
2023-02-06 13:27:28 -05:00
|
|
|
return (
|
|
|
|
|
<>
|
2023-03-20 00:48:16 -04:00
|
|
|
{/* <SearchBar fetch={fetch} onSuccess={onSearchSuccess} clearSearch={clearSearch}/> */}
|
2023-02-07 19:07:48 -05:00
|
|
|
<ClearConvos />
|
2023-02-08 09:15:47 -05:00
|
|
|
<DarkMode />
|
2023-03-14 01:24:43 +08:00
|
|
|
<Logout />
|
|
|
|
|
{/* <NavLink
|
2023-02-06 13:27:28 -05:00
|
|
|
svg={LogOutIcon}
|
|
|
|
|
text="Log out"
|
2023-03-14 01:24:43 +08:00
|
|
|
/> */}
|
2023-02-06 13:27:28 -05:00
|
|
|
</>
|
|
|
|
|
);
|
|
|
|
|
}
|