The size options for the active unit, already filtered against the opposite size value
The full local search state for the form
Boolean value to represent whether a search is running. Useful for rendering a loading state like a spinner.
Writes to square feet or acreage depending on the active size unit
Function to set individual search field values directly. This must be passed to the LocationInput as a prop.
Switching unit clears any size already entered, so only one unit is ever searched
The units this form offers. Render a unit switcher only when there is more than one.
Submit callback that should be added to the onSubmit handler of the search form
Current min/max size for the active unit