@resistdesign/voltra
    Preparing search index...

    Type Alias CreateNativeHistoryOptions

    Create-native-history options.

    type CreateNativeHistoryOptions = {
        adapter?: NativeLinkAdapter;
        initialPath?: string;
        mapURLToPath?: (url: string) => string;
        onIncomingURL?: NativeIncomingURLMode;
    }
    Index

    Properties

    Deep-link adapter implementation.

    initialPath?: string

    Initial fallback path when there is no incoming URL.

    Default: "/".

    mapURLToPath?: (url: string) => string

    Mapper for converting a URL into a path string.

    Default: mapNativeURLToPath.

    onIncomingURL?: NativeIncomingURLMode

    How to apply incoming URL events to history.

    Default: "replace".