bamlab / bamlab/react-native-components-collection

Element type is invalid: expected a string [...] but got : undefined.

Open
#21 2 comments 1 reaction 0 assignees View on GitHub
help wanted
Dominant language
JavaScript
Stars
39
Forks
6
PR merge metrics
No merged PRs in 30d

Description

Hello ! I am trying to use '@bam.tech/react-native-component-map-clustering' but I run into an error.

Here is a minimal code sample :

```
import React, { Component } from 'react';
import { StyleSheet } from 'react-native';
import MapView, { PROVIDER_GOOGLE } from 'react-native-maps';

export default class App extends Component {
render() {
return (



);
}
}

const styles = StyleSheet.create({
map: {
flex: 1,
},
});
```

This code works well and I followed the documentation for the installation but when I replace 'react-native-maps' with '@bam.tech/react-native-component-map-clustering', I have the following error :

|Screenshot|
|-----------|
|![image](https://user-images.githubusercontent.com/12065908/45322431-8517c380-b548-11e8-93bd-c068420fa00c.png)|

Thanks for your help !

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.