Add connected but unstyled workload list
This commit is contained in:
3
src/components/App/App.css
Executable file
3
src/components/App/App.css
Executable file
@@ -0,0 +1,3 @@
|
||||
.App {
|
||||
text-align: center;
|
||||
}
|
||||
9
src/components/App/App.test.tsx
Executable file
9
src/components/App/App.test.tsx
Executable file
@@ -0,0 +1,9 @@
|
||||
import React from 'react';
|
||||
import ReactDOM from 'react-dom';
|
||||
import App from './App';
|
||||
|
||||
it('renders without crashing', () => {
|
||||
const div = document.createElement('div');
|
||||
ReactDOM.render(<App />, div);
|
||||
ReactDOM.unmountComponentAtNode(div);
|
||||
});
|
||||
22
src/components/App/App.tsx
Executable file
22
src/components/App/App.tsx
Executable file
@@ -0,0 +1,22 @@
|
||||
import React, { PureComponent } from 'react';
|
||||
|
||||
import { WorkloadListContainer } from '../WorkloadList';
|
||||
import './App.css';
|
||||
|
||||
|
||||
class App extends PureComponent {
|
||||
render() {
|
||||
return (
|
||||
<div className="App">
|
||||
<div className="App-mainColumn">
|
||||
<WorkloadListContainer />
|
||||
</div>
|
||||
<div className="App-asideColumn">
|
||||
{/* <WorkloadFormContainer /> */}
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
export default App;
|
||||
2
src/components/App/index.ts
Normal file
2
src/components/App/index.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
export { default } from './App';
|
||||
export * from './App';
|
||||
Reference in New Issue
Block a user