Skip to content

Commit

Permalink
Update ItemTableFilter onChange docs
Browse files Browse the repository at this point in the history
  • Loading branch information
campb303 committed Apr 16, 2021
1 parent 6cca2ec commit c35189b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/ItemTableFilter/ItemTableFilter.js
Original file line number Diff line number Diff line change
Expand Up @@ -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. <br />
* <b>Signature:</b> <code>function(event: object) => void</code> <br />
* <em>event</em>: The event source of the callback.
* You can pull out the new value by accessing event.target.value (string).
*/
"onChange": PropTypes.func.isRequired
};

Expand Down

0 comments on commit c35189b

Please sign in to comment.