Skip to content

Commit

Permalink
feat(StreetViewPanorama): fix deprecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
novascreen committed Jun 1, 2017
1 parent 4127f7e commit d80cfe5
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/lib/StreetViewPanorama.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
/* global google */
import _ from 'lodash';

import {
default as React,
PropTypes,
} from "react";
import PropTypes from "prop-types";

import createReactClass from "create-react-class";

import React from "react";

import {
MAP,
Expand Down Expand Up @@ -109,7 +110,7 @@ function getInstanceFromComponent(component) {
}

export default _.flowRight(
React.createClass,
createReactClass,
enhanceElement(getInstanceFromComponent, publicMethodMap, eventMap, controlledPropUpdaterMap),
)({
displayName: `StreetViewPanorama`,
Expand Down

0 comments on commit d80cfe5

Please sign in to comment.