Skip to content

Commit

Permalink
[√] fixes Card.Child className joining bug, resolved #71
Browse files Browse the repository at this point in the history
  • Loading branch information
minwe committed Jun 27, 2016
1 parent 4fbe23b commit 0346c36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/js/Card.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ Card.Child = React.createClass({
...props
} = this.props;
let classSet = {
className,
[this.prefixClass(role)]: true,
[this.prefixClass('cover')]: cover,
};
Expand All @@ -105,7 +104,8 @@ Card.Child = React.createClass({
return (
<div
{...props}
className={classNames(classSet)}
className={classNames(className, classSet)}
role={`card-${role}`}
style={style}
>
{this.props.children}
Expand Down

0 comments on commit 0346c36

Please sign in to comment.