react-native-okhi
    Preparing search index...

    Type Alias OkCollectConfig

    Behavioral configuration options for the OkCollect address collection UI.

    Control which features are available during address collection.

    const config: OkCollectConfig = {
    streetView: true,
    withAppBar: true,
    };

    OkCollect - Parent configuration type

    type OkCollectConfig = {
        streetView: boolean;
        withHomeAddressType: boolean;
        withWorkAddressType: boolean;
        withAppBar: boolean;
    }
    Index

    Properties

    streetView: boolean

    Whether to enable Google Street View for address collection. When enabled, users can create addresses using street-level imagery.

    true

    withHomeAddressType: boolean

    Whether to show "Home" as an address type option.

    true

    withWorkAddressType: boolean

    Whether to show "Work" as an address type option.

    false

    withAppBar: boolean

    Whether to display the app bar (header) in the collection UI.

    true