Optional
configOptional: An object that'll be used to customise the functionality of the Location Manager. This object dictates whether you want some features on or off.
Optional
addressOptional
home?: booleanOptional
work?: booleanOptional
appOptional
visible?: booleanOptional
permissionsOptional
streetOptional
verificationRequired: A boolean flag that determines whether or not to show the Location Manager.
Optional
loaderOptional: A custom JSX.Element that'll be used as a loading indicator.
Optional
modeOptional: Enable a user to either select an existing address, or force to create a new one
Required: A callback that'll be invoked whenever a user taps on the close button.
Required: A callback that'll be invoked whenever an error occurs during the address creation process.
Required: A callback that'll be invoked with an OkCollectSuccessResponse once an accurate OkHi address has been successfully created.
Optional
styleOptional: Used to customise the appearance of the Container that wraps the location manager.
Optional
themeOptional: An object that'll be used to customise the appearance of the Location Manager to better match your branding requirements.
Optional
appOptional
backgroundOptional
logo?: stringOptional
colors?: { Optional
primary?: stringRequired: A defined OkHiUser object, with a mandatory "phone" key property.
Generated using TypeDoc
The OkHiLocationManager exposes props that you can use to customise it's functionality and appearance.