nwb
Version:
A toolkit for React, Preact & Inferno apps, React libraries and other npm modules for the web, with no configuration (until you need it)
20 lines (16 loc) • 509 B
JavaScript
import './App.css'
import React, {Component} from 'react'
class App extends Component {
render() {
return <div className="App">
<div className="App-heading App-flex">
<h2>Welcome to <span className="App-react">React</span></h2>
</div>
<div className="App-instructions App-flex">
<img className="App-logo" src={require('./react.svg')}/>
<p>Edit <code>src/App.js</code> and save to hot reload your changes.</p>
</div>
</div>
}
}
export default App