Open
Description
Trying to add react-here-maps library to a react app version 16.4.2, but getting the :
TypeError: Cannot read property 'object' of undefined
55 | }
56 | // define the context types that are passed down from a instance
57 | Circle.contextTypes = {
58 | map: React.PropTypes.object
59 | };
60 | Circle.defaultProps = {
61 | fillColor: "rgba(255, 255, 255, 0.5)",
I do believe that this is due to the 'prop-types' being moved to it's own library.
What are the chance of recompiling it with a more recent version of react ?
I try building the library myself, but the build failed with an error stating that it was looking for a apple enviroment.
Do you know of another more modern library ???
Regards
RS
Metadata
Metadata
Assignees
Labels
No labels