diff --git a/ui/components/component-library/text-field/text-field.js b/ui/components/component-library/text-field/text-field.js index a441c579d92b..0aa0c2f335dd 100644 --- a/ui/components/component-library/text-field/text-field.js +++ b/ui/components/component-library/text-field/text-field.js @@ -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 */