Reworking static page generation

Including styles in components wasn't working with the old system.
This commit is contained in:
Jeff Avallone
2018-02-13 17:10:32 -05:00
parent ad6583d5dc
commit 7238643740
13 changed files with 111 additions and 44 deletions
+2 -6
View File
@@ -1,15 +1,11 @@
import React from 'react';
import Header from './Header';
import Footer from './Footer';
import Message from './Message';
const App = () => <React.Fragment>
<Header/>
const App = () => (
<Message heading="React App">
<p>Placeholder app content</p>
</Message>
<Footer/>
</React.Fragment>;
);
export default App;