You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-10Lines changed: 11 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,16 @@
1
-
# react-query-filters
1
+
# react-query-filter
2
+
3
+
<divstyle="max-width: 700px">
4
+
<imgsrc="./.github/chakra-ui-demo.gif?raw=true">
5
+
</div>
2
6
3
7
> **Heads up:** This is still a work in progress. A lot of breaking change might happen and a lot of features are still missing. PR's are very welcome but please open an issue first describing what you think could be better.
4
8
5
9
Set of utilities to implement a Query Builder for filters.
6
10
7
11
This library ships a `useQueryFilters` hook that you can use to implement an UI on top of it.
8
12
9
-
The `useQueryFilters` will track state changes and enable you do build your query filter builder using the styles you want.
13
+
The `useQueryFilters` will track state changes and enable you to build your own UI implementation on top of it.
10
14
11
15
-[Features](#features)
12
16
-[Signature](#signature)
@@ -24,8 +28,9 @@ The `useQueryFilters` will track state changes and enable you do build your quer
24
28
-[ ] Single Select
25
29
-[ ] Multiple Select
26
30
-[x] Conditional value based on operation type
27
-
- Condition value is always `undefined` if operation type is `is-empty` or `is-not-empty`
31
+
- Condition value is always `undefined` if operation type is `IS_EMPTY` or `IS_NOT_EMPTY`
28
32
-[x]`AND` & `OR` logic gates supported, implemented as the `Binding` enum
0 commit comments