Navigation Menu

Skip to content
This repository has been archived by the owner on Jan 18, 2023. It is now read-only.

Commit

Permalink
static-layout: render all components
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewagain committed Oct 13, 2016
1 parent fd0451c commit 323e8ff
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/component/App.js
@@ -1,10 +1,13 @@
import React from 'react';
import Display from './Display';
import ButtonPanel from './ButtonPanel';

class App extends React.Component {
render() {
return (
<div>
Welcome to App
<Display />
<ButtonPanel />
</div>
);
}
Expand Down
3 changes: 2 additions & 1 deletion src/component/ButtonPanel.js
@@ -1,10 +1,11 @@
import React from 'react';
import Button from './Button';

class ButtonPanel extends React.Component {
render() {
return (
<div>
Welcome to ButtonPanel
<Button />
</div>
);
}
Expand Down

0 comments on commit 323e8ff

Please sign in to comment.