@searchcraft/react-sdk 0.13.2 → 0.14.0

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
@@ -135,6 +135,11 @@ export const filterPanelItems = [
135
135
  type: 'facets',
136
136
  fieldName: 'section',
137
137
  label: 'Filter by Section',
138
+ options: {
139
+ showSublevel: false,
140
+ initialCollapseState: 'open', // 'open' or 'closed' - controls if section starts expanded or collapsed
141
+ viewMoreThreshold: 8, // Number of facets to show before "view more" link appears (0 = show all)
142
+ },
138
143
  },
139
144
  ];
140
145