package com.shoyoo.react.anavi.paths import com.facebook.react.common.MapBuilder import com.facebook.react.uimanager.ThemedReactContext @Suppress("unused") class AMapWalkPathManager: AMapPathManager() { override fun getName(): String { return "WalkPath" } override fun createViewInstance(reactContext: ThemedReactContext): AMapWalkPath { return AMapWalkPath(reactContext) } override fun getExportedCustomDirectEventTypeConstants(): Map { return MapBuilder.of( "onSearchStart", MapBuilder.of("registrationName", "onAMapSearchStart"), "onSearchComplete", MapBuilder.of("registrationName", "onAMapSearchComplete") ) } }