Skip to content
Snippets Groups Projects

(#3)add search/filtering option

Merged Amund Skuggevik Foss requested to merge (#3)Add_search/filtering_option into master
11 files
+ 248
17
Compare changes
  • Side-by-side
  • Inline
Files
11
atoms/atoms.ts 0 → 100644
+ 16
0
import {atom} from "recoil";
export const searchState = atom({
key: 'searchState', // unique ID (with respect to other atoms/selectors)
default: '', // default value (aka initial value)
});
export const typeState = atom({
key: 'typeState', // unique ID (with respect to other atoms/selectors)
default: '', // default value (aka initial value)
})
export const capturedFilterState = atom<boolean | null>( {
key: 'capturedFilterState',
default: null
})
\ No newline at end of file
Loading