import React from 'react'
import { render } from 'react-dom'

function Hello () {
  return <div>Hello React JSX World! powered by Babel</div>
}

render(
  <Hello />,
  document.getElementById('root')
)

// @flow

import React from 'react'
import { render } from 'react-dom'

function Hello ({name}: {name: string}) {
  return <div>Hello {name}</div>
}

render(
  <Hello name='Pedro' />,
  document.getElementById('root')
)

Add a simple Flow example
Add a simple Flow example

Changes the simple "demo app" to use flow static types.
