1.0.2 • Published 7 years ago

search-by-zip v1.0.2

Weekly downloads
4
License
ISC
Repository
github
Last release
7 years ago

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.