@bigbinary/neeto-filters-frontend 2.11.5 → 2.11.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 CHANGED
@@ -69,6 +69,7 @@ export const SAMPLE_FILTER_FIELDS = [
69
69
  key: "name",
70
70
  node: "first_name,last_name",
71
71
  label: "Name",
72
+ suffixComponent: () => <Component />
72
73
  type: "text",
73
74
  },
74
75
  {
@@ -90,6 +91,7 @@ export const SAMPLE_FILTER_FIELDS = [
90
91
  - `group`: The label of the group, if the field is associated with a group.
91
92
  - `node`: The column in DB table corresponding to the field.
92
93
  - `label` The label to be shown just above the field in Pane.
94
+ - `suffixComponent` The component to be shown at the end of the respective Block in filters Bar.
93
95
  - `type`: The nature/type of the field needed in pane.
94
96
  - The supported types are `text`, `number`, `decimal`, `date`, `single_date`, `time`, `single_time`, `single_option`, `multi_option` and `boolean`
95
97
  - `model`: If the node provided is **not** directly refering to the column within the table being queried for the filtered results, then we need to provide the **model** corresponding to the target table.