Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
};
render() {
const { step, ...props } = this.props;
return ;
}
}
RotatingBunny.propTypes = {
app: PropTypes.object.isRequired,
step: PropTypes.number,
};
RotatingBunny.defaultProps = {
step: 0.1,
};
export default withApp(RotatingBunny);
height={600}
interactive
pointerdown={this.handlePointerDown}
pointerup={this.handlePointerUp}
texture={PIXI.Texture.EMPTY}
width={800}
/>
);
}
}
CustomBunnymark.propTypes = {
app: PropTypes.object,
};
export default withApp(CustomBunnymark);
height={600}
interactive
pointerdown={this.handlePointerDown}
pointerup={this.handlePointerUp}
texture={PIXI.Texture.EMPTY}
width={800}
/>
);
}
}
Bunnymark.propTypes = {
app: PropTypes.object,
};
export default withApp(Bunnymark);