-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat: #35 테이블 헤더의 필터 메뉴를 위한 상태 추가 (atom)
- Loading branch information
1 parent
4f7b1b1
commit d8656f8
Showing
1 changed file
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
import { atom } from 'recoil'; | ||
|
||
const milestoneFilterList = atom({ | ||
key: 'milestoneFilterList', | ||
default: { | ||
query: 'milestones', | ||
data: [], | ||
cachingTime: 0, | ||
}, | ||
}); | ||
|
||
const labelFilterList = atom({ | ||
key: 'labelFilterList', | ||
default: { | ||
query: 'labels', | ||
data: [], | ||
cachingTime: 0, | ||
}, | ||
}); | ||
|
||
const assigneeFilterList = atom({ | ||
key: 'assigneeFilterList', | ||
default: { | ||
query: 'assignees', | ||
data: [], | ||
cachingTime: 0, | ||
}, | ||
}); | ||
|
||
const authorFilterList = atom({ | ||
key: 'authorFilterList', | ||
default: { | ||
query: 'authors', | ||
data: [], | ||
cachingTime: 0, | ||
}, | ||
}); | ||
|
||
export { | ||
milestoneFilterList, | ||
labelFilterList, | ||
assigneeFilterList, | ||
authorFilterList, | ||
}; |