import {Entity} from 'aframe-react';
import React from 'react';

export default class CameraAnimation extends React.Component {
  constructor(props) {
    super(props);

    this.state = { newPosition:  "0 0 0" };
  }

  render() {
    return (
          <a-animation
              attribute="position"
              dur="4000"
              to={ this.state.newPosition }
          />
    );
  }
}

@@ -7,16 +7,27 @@
  %7BEntity
+, Animation
 %7D from '
@@ -211,15 +211,17 @@
 n:  
-%220
+%5B0,
  0
+,
  0
-%22
+%5D
  %7D;%0A
@@ -266,11 +266,9 @@
    %3C
-a-a
+A
 nima

Change a-animation to Animation