Skip to content

Commit

Permalink
fix(addons/InfoBox): add default export
Browse files Browse the repository at this point in the history
* Fixes #610
* Fixes #611
  • Loading branch information
tomchentw committed Sep 14, 2017
1 parent 8cbd22d commit 53631f4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/addons/InfoBox.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,8 @@ export class InfoBox extends React.PureComponent {
}
}

export default InfoBox

const open = (infoBox, anchor) => {
if (anchor) {
infoBox.open(infoBox.getMap(), anchor)
Expand Down

0 comments on commit 53631f4

Please sign in to comment.