We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 294a95f commit 55e37fbCopy full SHA for 55e37fb
src/components/appear.js
@@ -64,7 +64,7 @@ class Appear extends Component {
64
{({ opacity }) =>
65
React.cloneElement(child, {
66
className: 'fragment',
67
- style: [child.props.style, this.props.style, opacity],
+ style: { ...child.props.style, ...this.props.style, opacity },
68
ref: f => {
69
this.fragmentRef = f;
70
},
0 commit comments