Created
August 21, 2018 21:21
-
-
Save jyash97/682e1465d69b7cdf6bbe31ab80081861 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<GeoDistanceDropdown | |
componentId="distance" | |
dataField="location" | |
data={ | |
[ | |
{ "distance": 10, "label": "Within 10 miles" }, | |
{ "distance": 20, "label": "Within 20 miles" }, | |
{ "distance": 50, "label": "Within 50 miles" }, | |
] | |
} | |
defaultSelected={{ | |
location: "London, UK", | |
label: "Within 10 miles" | |
}} | |
placeholder="Select a distance range.." | |
unit="mi" | |
className="dropdown-field" | |
/> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment