@bigbinary/neeto-filters-frontend 2.10.1 → 2.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -2
- package/dist/index.cjs.js +728 -431
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +728 -431
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/types.d.ts +2 -0
package/README.md
CHANGED
|
@@ -32,7 +32,8 @@ neeto-filters-frontend exports 2 components (`Filters` & `Bar`) and 2 functions
|
|
|
32
32
|
8. **isSearchable**: To specify whether you need a search bar in filters pane to search through filter fields.
|
|
33
33
|
9. **className**: To specify classes to the Filters component.
|
|
34
34
|
10. **keyword**: To specify the props related to searching.
|
|
35
|
-
11. **
|
|
35
|
+
11. **childrenKeys** The list of keys which has to be cleared from url during clear filters operation.
|
|
36
|
+
12. **children**: To specify the custom components specific to the host application.
|
|
36
37
|
|
|
37
38
|
Here is an example of `keyword` prop:
|
|
38
39
|
```js
|
|
@@ -143,7 +144,8 @@ Then the node will be `address.line_1,line_2`. In such cases we need to pass thi
|
|
|
143
144
|
4. **className**: To specify classes to the Bar component.
|
|
144
145
|
5. **keyword**: To specify the props related to searching.
|
|
145
146
|
6. **onSelectorsChange**: To specify the callback function that is triggered whenever a selector value is changed. This function will get the updated selectors as argument.
|
|
146
|
-
7. **
|
|
147
|
+
7. **childrenKeys** The list of keys which has to be cleared from url during clear filters operation.
|
|
148
|
+
8. **children**: To specify the custom components specific to the host application.
|
|
147
149
|
|
|
148
150
|
All these props must be same as that passed to the `Filters` component.
|
|
149
151
|
|