pcm-shared-components 0.0.209 → 0.0.210
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.
|
@@ -112,13 +112,13 @@ SearchBar.defaultProps = {
|
|
|
112
112
|
|
|
113
113
|
SearchBar.propTypes = {
|
|
114
114
|
/** Fired when the search is cancelled. */
|
|
115
|
-
onCancelSearch: PropTypes.
|
|
115
|
+
onCancelSearch: PropTypes.func,
|
|
116
116
|
|
|
117
117
|
/** Fired when the text value changes. Returns the new value */
|
|
118
|
-
onChange: PropTypes.
|
|
118
|
+
onChange: PropTypes.func,
|
|
119
119
|
|
|
120
120
|
/** Same as onChange except only fires 700ms after the users has completed typing to prevent performance issues. Returns the new value */
|
|
121
|
-
onChangeDebounce: PropTypes.
|
|
121
|
+
onChangeDebounce: PropTypes.func,
|
|
122
122
|
|
|
123
123
|
/** Sets placeholder text for the embedded text field. */
|
|
124
124
|
placeholder: PropTypes.string,
|