Search should be of as-you-type, meaning it should call the callback at every key stroke. (debouncing and cancelling earlier api requests will be handled in parent component)
The component should take the following props:
callback - when user punches input the callback should be activated
textLength - to be used to validate if the user has punched more than textLength number of characters.
UI components:
The component should take the following props:
textLength
number of characters.