LibreChat/client/src/store/search.ts

17 lines
250 B
TypeScript
Raw Normal View History

import { atom } from 'recoil';
const isSearchEnabled = atom<boolean | null>({
key: 'isSearchEnabled',
default: null,
});
const searchQuery = atom({
key: 'searchQuery',
default: '',
});
export default {
isSearchEnabled,
searchQuery,
};