homeflowjs 0.9.21 → 0.9.22

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "homeflowjs",
3
- "version": "0.9.21",
3
+ "version": "0.9.22",
4
4
  "description": "JavaScript toolkit for Homeflow themes",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -5,11 +5,12 @@ import { setSearchField } from '../../actions/search.actions';
5
5
 
6
6
  // GenericSearchField for anything not already available as a component
7
7
 
8
- const GenericSelect = ({ name, value, children, setSearchField }) => (
8
+ const GenericSelect = ({ name, value, children, setSearchField, ...otherProps }) => (
9
9
  <select
10
10
  name={name}
11
11
  value={value}
12
12
  onChange={e => setSearchField({ [e.target.name]: e.target.value })}
13
+ {...otherProps}
13
14
  >
14
15
  {children}
15
16
  </select>