New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-native-cf-amap

Package Overview
Dependencies
Maintainers
0
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-cf-amap

成丰高德搜索组件库

0.0.8
latest
Source
npm
Version published
Weekly downloads
6
20%
Maintainers
0
Weekly downloads
 
Created
Source

react-native-cf-amap

Getting started

$ yarn add react-native-cf-amap

注意事项

  • 只支持Hook模式

Usage

//ios需要初始化
import {initAMapSearch} from "react-native-cf-amap";
Constants.isIos && initAMapSearch();
import {poiSearchKeyWord, useAMapPoiSearchEmitter} from 'react-native-cf-amap';
const poiSearch = useAMapPoiSearchEmitter();
console.log("poiSearch::",poiSearch);
useEffect(() => {
    // initAMapSearch()
    poiSearchKeyWord({keyWord: '北京', city: ''});
}, []);

Keywords

react-native

FAQs

Package last updated on 16 Dec 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts