UNPKG

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 (17 loc) 588 B
import './App.css' import {h, Component} from 'preact' export default class App extends Component { render() { return <div className="App"> <div className="App-heading App-flex"> <h2> Welcome to <img alt="Preact" src={require('./preact-name.svg')} style="height: 1.8em; vertical-align: middle;"/> </h2> </div> <div className="App-instructions App-flex"> <img className="App-logo" src={require('./preact-logo.svg')}/> <p>Edit <code>src/App.js</code> and save to hot reload your changes.</p> </div> </div> } }