Skip to content

Commit 55e37fb

Browse files
committed
fixing appears
1 parent 294a95f commit 55e37fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/appear.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ class Appear extends Component {
6464
{({ opacity }) =>
6565
React.cloneElement(child, {
6666
className: 'fragment',
67-
style: [child.props.style, this.props.style, opacity],
67+
style: { ...child.props.style, ...this.props.style, opacity },
6868
ref: f => {
6969
this.fragmentRef = f;
7070
},

0 commit comments

Comments
 (0)