1
0
Fork 0

Merge pull request #80 from wuweiweiwu/cra-v2

Use CRA v2
This commit is contained in:
Travis Fischer 2019-03-02 11:37:17 -05:00 committed by Joost De Cock
parent 949c7c8148
commit 3472a121ab
22 changed files with 2134 additions and 1012 deletions

View file

@ -1,13 +1,12 @@
import React, { Component } from 'react'
import React, { Component } from 'react';
import './App.css';
import ExampleComponent from '{{name}}'
import ExampleComponent from '{{name}}';
export default class App extends Component {
render () {
return (
<div>
<ExampleComponent text='Modern React component module' />
</div>
)
class App extends Component {
render() {
return <ExampleComponent text='Modern React component module' />;
}
}
export default App;