Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
willEnter = transitionStyle => {
const { gridWidth, gridHeight } = this.state;
const { enter } = this.props;
return {
...stripStyle(transitionStyle.style),
zIndex: 1,
...enter(transitionStyle.data.element.props, this.props, {
gridWidth,
gridHeight
})
};
};