rn-amap
v0.1.1
Published
rn amap
Readme
react-native-amap-foundation
rn amap
Installation
npm install rn-amapUsage
import { View, StyleSheet } from 'react-native';
import { AMapView } from 'rn-amap';
import { amapProps } from './config';
export default function App() {
return (
<View style={styles.container}>
<AMapView amap={amapProps} style={styles.amapFoundation} />
</View>
);
}
const styles = StyleSheet.create({
container: {
flex: 1,
alignItems: 'center',
justifyContent: 'center',
},
amapFoundation: {
width: '100%',
height: 320,
},
});Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT
Made with create-react-native-library
