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 15, 2017
1 parent 8cbd22d commit f40b496
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 f40b496

Please sign in to comment.