mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-27 21:58:51 +01:00
feat: use recoil to replace redux feat: use react-native THIS IS NOT FINISHED. DONT USE THIS
22 lines
523 B
JavaScript
22 lines
523 B
JavaScript
import React from 'react';
|
|
import SearchBar from './SearchBar';
|
|
import ClearConvos from './ClearConvos';
|
|
import DarkMode from './DarkMode';
|
|
import Logout from './Logout';
|
|
|
|
export default function NavLinks({ fetch, onSearchSuccess, clearSearch, isSearchEnabled }) {
|
|
return (
|
|
<>
|
|
{!!isSearchEnabled && (
|
|
<SearchBar
|
|
fetch={fetch}
|
|
onSuccess={onSearchSuccess}
|
|
clearSearch={clearSearch}
|
|
/>
|
|
)}
|
|
<DarkMode />
|
|
<ClearConvos />
|
|
<Logout />
|
|
</>
|
|
);
|
|
}
|