@@ -7,6 +7,7 @@ import PureRenderMixin from 'react-addons-pure-render-mixin';
7
7
import metaTagsManager from 'libs/metaTagsManager' ;
8
8
import CommentForm from '../CommentBox/CommentForm/CommentForm' ;
9
9
import CommentList from '../CommentBox/CommentList/CommentList' ;
10
+ import css from './SimpleCommentScreen.scss' ;
10
11
11
12
export default class SimpleCommentScreen extends React . Component {
12
13
constructor ( props , context ) {
@@ -70,6 +71,13 @@ export default class SimpleCommentScreen extends React.Component {
70
71
}
71
72
72
73
render ( ) {
74
+ const cssTransitionGroupClassNames = {
75
+ enter : css . elementEnter ,
76
+ enterActive : css . elementEnterActive ,
77
+ leave : css . elementLeave ,
78
+ leaveActive : css . elementLeaveActive ,
79
+ } ;
80
+
73
81
return (
74
82
< div className = "commentBox container" >
75
83
< h2 > Comments</ h2 >
@@ -81,10 +89,12 @@ export default class SimpleCommentScreen extends React.Component {
81
89
isSaving = { this . state . isSaving }
82
90
actions = { { submitComment : this . _handleCommentSubmit } }
83
91
error = { this . state . submitCommentError }
92
+ cssTransitionGroupClassNames = { cssTransitionGroupClassNames }
84
93
/>
85
94
< CommentList
86
95
$$comments = { this . state . $$comments }
87
96
error = { this . state . fetchCommentsError }
97
+ cssTransitionGroupClassNames = { cssTransitionGroupClassNames }
88
98
/>
89
99
</ div >
90
100
) ;
0 commit comments