@@ -32,17 +32,19 @@ import 'react-loqate/dist/index.css';
3232
3333### Props
3434
35- | name | type | required | example | description |
36- | ---------- | ----------------------------------------------------- | -------- | ------------------------------------------------------------------- | ---------------------------------------- |
37- | apiKey | string | yes | "AA11-AA11-AA11-AA11" | Loqate API key |
38- | locale | string | yes | "en-GB" | Language to be used |
39- | onSelect | (address) => void | yes | address => console.log(address) | Callback with for Loqate response |
40- | countries | string[ ] | no | [ "GB", "NL"] | Countries to search in |
41- | limit | number | no | 10 | Number of options to show |
42- | classes | ` { input?: string, list?: string, listItem?: string} ` | no | { list: 'list' } | Classnames for the components |
43- | components | see [ Customization] ( #Customization ) | no | { Input: CustomInput, List: CustomList, ListItem: CustomListItem, } | Components to overwrite the default ones |
44- | inline | boolean | no | true | Render results inline with the input |
45- | debounce | number | no | 100 | Debounce the calls to the Loqate API |
35+ | name | type | required | example | description |
36+ | ---------- | ----------------------------------------------------- | -------- | ------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- |
37+ | apiKey | string | yes | "AA11-AA11-AA11-AA11" | Loqate API key |
38+ | locale | string | yes | "en-GB" | Language to be used |
39+ | onSelect | (address) => void | yes | address => console.log(address) | Callback with for Loqate response |
40+ | countries | string[ ] | no | [ "GB", "NL"] | Countries to search in |
41+ | limit | number | no | 10 | Number of options to show |
42+ | classes | ` { input?: string, list?: string, listItem?: string} ` | no | { list: 'list' } | Classnames for the components |
43+ | components | see [ Customization] ( #Customization ) | no | { Input: CustomInput, List: CustomList, ListItem: CustomListItem, } | Components to overwrite the default ones |
44+ | inline | boolean | no | true | Render results inline with the input |
45+ | debounce | number | no | 100 | Debounce the calls to the Loqate API |
46+ | bias | boolean | no | true | Bias feature when using capture v4 enabled key.<br >Requires origin to be set. |
47+ | origin | string | no | "93.184.216.34" | Name or ISO 2 or 3 character code of a country, WGS84 coordinates (comma separated) or IP address |
4648
4749### Customization
4850
0 commit comments