diff --git a/src/components/ItemTableFilter/ItemTableFilter.js b/src/components/ItemTableFilter/ItemTableFilter.js index 2c61967..f17101b 100644 --- a/src/components/ItemTableFilter/ItemTableFilter.js +++ b/src/components/ItemTableFilter/ItemTableFilter.js @@ -35,7 +35,11 @@ export default function ItemTableFilter({ label, onChange }) { ItemTableFilter.propTypes = { /** The label that appears inside the search box. */ "label": PropTypes.string, - /** The callback function that sets a column's filter value. */ + /** The callback function that sets a column's filter value.
+ * Signature: function(event: object) => void
+ * event: The event source of the callback. + * You can pull out the new value by accessing event.target.value (string). + */ "onChange": PropTypes.func.isRequired };