File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed
Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ ShallowWrapper {
2222 " key" : null ,
2323 " nodeType" : " host" ,
2424 " props" : Object {
25+ " className" : undefined ,
2526 " onClick" : [Function ],
2627 " onMouseOut" : [Function ],
2728 " onMouseOver" : [Function ],
@@ -38,6 +39,7 @@ ShallowWrapper {
3839 " key" : null ,
3940 " nodeType" : " host" ,
4041 " props" : Object {
42+ " className" : undefined ,
4143 " onClick" : [Function ],
4244 " onMouseOut" : [Function ],
4345 " onMouseOver" : [Function ],
Original file line number Diff line number Diff line change @@ -516,7 +516,8 @@ var HoverImage = function (_React$Component) {
516516 style : this . props . style ,
517517 onMouseOver : this . mouseOver ,
518518 onMouseOut : this . mouseOut ,
519- onClick : this . handleClick
519+ onClick : this . handleClick ,
520+ className : this . props . className
520521 } ) ;
521522 }
522523 } ] ) ;
Original file line number Diff line number Diff line change @@ -39,7 +39,8 @@ class HoverImage extends React.Component {
3939}
4040HoverImage . propTypes = {
4141 hoverSrc : PropTypes . string . isRequired ,
42- src : PropTypes . string . isRequired
43- }
42+ src : PropTypes . string . isRequired ,
43+ className : PropTypes . string
44+ } ;
4445
4546export default HoverImage
You can’t perform that action at this time.
0 commit comments