Skip to content

Commit

Permalink
feat(withGoogleMap): add named export
Browse files Browse the repository at this point in the history
  • Loading branch information
tomchentw committed Sep 15, 2017
1 parent 73e35c3 commit 8e7e5de
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/withGoogleMap.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import PropTypes from "prop-types"
import React from "react"
import { MAP } from "./constants"

export default function withGoogleMap(BaseComponent) {
export function withGoogleMap(BaseComponent) {
const factory = createEagerFactory(BaseComponent)

class Container extends React.PureComponent {
Expand Down Expand Up @@ -89,3 +89,5 @@ export default function withGoogleMap(BaseComponent) {

return Container
}

export default withGoogleMap

0 comments on commit 8e7e5de

Please sign in to comment.