created a hierarchical structure of components

This commit is contained in:
Senad Uka
2018-04-10 10:48:15 +02:00
parent 36dae1b4bb
commit 4ca65f5925
10 changed files with 30 additions and 32 deletions

View File

@@ -0,0 +1,9 @@
import React from 'react';
import ReactDOM from 'react-dom';
import App from './index';
it('renders without crashing', () => {
const div = document.createElement('div');
ReactDOM.render(<App />, div);
ReactDOM.unmountComponentAtNode(div);
});