search-by-zip
v1.0.2
Published
A React Component containing an input for a ZIP code, a selector for radius, and a button for submitting the values.
Downloads
3
Readme
search-by-zip
A React Component containing an input for a ZIP code, a selector for radius, and a button for submitting the values. On button click, the ZIP code is validated using a RegEx and the data is sent to the supplied updateList prop.
Props: (Required) updateList(zip, radius): This function will be called on button click containing the values of zipcode and radius specified by the user.