Skip to content

Commit

Permalink
Adding missing proptype
Browse files Browse the repository at this point in the history
  • Loading branch information
georgewrmarshall committed Nov 9, 2022
1 parent 3796723 commit a93b382
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ui/components/component-library/text-field/text-field.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@ TextField.propTypes = {
* Show a clear button to clear the input
*/
showClearButton: PropTypes.bool,
/**
* The onClick handler for the clear button
*/
clearButtonOnClick: PropTypes.func,
/**
* The props to pass to the clear button
*/
Expand Down

0 comments on commit a93b382

Please sign in to comment.