@bigbinary/neeto-filters-frontend 2.9.5 → 2.9.7
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 +2 -0
- package/dist/index.cjs.js +285 -282
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +285 -282
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/types.d.ts +34 -31
package/README.md
CHANGED
|
@@ -32,6 +32,7 @@ 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. **children**: To specify the custom components specific to the host application.
|
|
35
36
|
|
|
36
37
|
Here is an example of `keyword` prop:
|
|
37
38
|
```js
|
|
@@ -140,6 +141,7 @@ Then the node will be `address.line_1,line_2`. In such cases we need to pass thi
|
|
|
140
141
|
4. **className**: To specify classes to the Bar component.
|
|
141
142
|
5. **keyword**: To specify the props related to searching.
|
|
142
143
|
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.
|
|
144
|
+
7. **children**: To specify the custom components specific to the host application.
|
|
143
145
|
|
|
144
146
|
All these props must be same as that passed to the `Filters` component.
|
|
145
147
|
|