Display the actual string, not the parsed number

This allows the textfield to show e.g. '000' in the short interval between the user removing the '1' in '1000' and adding the '2' in '2000'.
Make maxHits a state variable
Reorder props for consistency
Handle search in MainArea; trigger when maxHits changes