Skip to content

Commit 7c0a83f

Browse files
committed
Pass all props to the container div
1 parent 794bf50 commit 7c0a83f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ module.exports = class extends React.Component {
6868
}
6969
render() {
7070
return (
71-
<div className={this.props.className}>{this.props.children}</div>
71+
<div {...this.props} />
7272
);
7373
}
7474
};

0 commit comments

Comments
 (0)