/* @flow */

import React from 'react'

class Main extends React.Component {
  render() {
    return <div>Hello World</div>
  }
}

export default Main

/* @flow */

import Motion from 'react'

class Main extends Motion.Component {
  render() {
    return <div>Hello World</div>
  }
}

export default Main

Fix a typo in template We need the name to be motion so Motion.createElement is available for JSX