Skip to content

Commit

Permalink
fix(Map): only pass id, className and style from props
Browse files Browse the repository at this point in the history
  • Loading branch information
tomchentw committed Nov 20, 2014
1 parent 7c9baa7 commit 284ab29
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Map.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,9 @@ MapSpec = {
},

_render (props, state) {
return <div ref="mapCanvas" {...props}></div>;
return <div ref="mapCanvas"
id={props.id} className={props.className} style={props.style}>
</div>;
}
};

Expand Down

0 comments on commit 284ab29

Please sign in to comment.