Skip to content

Commit 3ff8e33

Browse files
authored
Pass className prop to container div
1 parent 77e3563 commit 3ff8e33

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

amcharts3-react.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,7 @@ console.warn("Version 1.0 is outdated. Please upgrade to version 2.0:\nhttps://g
276276
render: function () {
277277
return React.DOM.div({
278278
id: this.state.id,
279+
className: this.props.className || null,
279280
style: {
280281
width: this.props.width || "100%",
281282
height: this.props.height || "100%"

0 commit comments

Comments
 (0)