Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean Houlihan committed Jun 20, 2019
1 parent 252dcac commit 81b8dbd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ A location picker powered by mapbox, implemented in React.
- Autofill when user selects suggestion
- Suggestions selectable with mouse click or with arrow key up/down + enter key
- Callback when location is selected, providing the mapbox location object and click event if selected with mouse
- Suggestions show/hide on input focus/blur
- Custom selection color
- Optional ISO 3166-1 country code prop to narrow search
- Placeholder text set through prop for localization support

## Usage

Expand All @@ -42,3 +42,4 @@ import SearchBox from "react-mapbox-search";
| country | string | undefined | ISO 3166-1 country code to narrow search |
| callback | function | undefined | Callback function fired when suggestion chosen |
| selectColor | string | "#58A" | Color for currently selected suggestion item |
| searchHint | string | "Search" | Placeholder text for input when empty |

0 comments on commit 81b8dbd

Please sign in to comment.