Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <SvgLoader id="animated" path="1.svg">
- <TransformMotion
- selector="#Star"
- start={{
- x: 0,
- y: 0,
- angle: 0,
- rotateX: centerOfRotationX,
- rotateY: centerOfRotationY
- }}
- target={{
- x: this.state.x,
- y: this.state.y,
- angle: this.state.angle,
- rotateX: centerOfRotationX,
- rotateY: centerOfRotationY
- }}
- />
- </SvgLoader>
Add Comment
Please, Sign In to add comment