Commit 41f8c790 authored by EKSAD's avatar EKSAD

update

parent cb84b34d
This diff is collapsed.
...@@ -10,7 +10,6 @@ ...@@ -10,7 +10,6 @@
"@testing-library/user-event": "^7.2.1", "@testing-library/user-event": "^7.2.1",
"apisauce": "^1.1.2", "apisauce": "^1.1.2",
"font-awesome": "^4.7.0", "font-awesome": "^4.7.0",
"mui-datatables": "^3.3.1",
"react": "^16.13.1", "react": "^16.13.1",
"react-dom": "^16.13.1", "react-dom": "^16.13.1",
"react-router-dom": "^5.2.0", "react-router-dom": "^5.2.0",
......
import React, { Component } from 'react'; import React, { Component } from 'react';
import { Typography, CircularProgress } from '@material-ui/core'; import { Typography, CircularProgress } from '@material-ui/core';
import MUIDataTable from "mui-datatables";
import Images from '../assets/Images'; import Images from '../assets/Images';
class HomePage extends Component { class HomePage extends Component {
...@@ -66,11 +65,6 @@ class HomePage extends Component { ...@@ -66,11 +65,6 @@ class HomePage extends Component {
</div> </div>
<div style={{ flex: 1, padding: 20, width: '100%' }}> <div style={{ flex: 1, padding: 20, width: '100%' }}>
<div> <div>
<MUIDataTable
data={data}
columns={columns}
options={options}
/>
</div> </div>
<div style={{ marginTop: 20 }}> <div style={{ marginTop: 20 }}>
<Typography style={{ color: '#656565', fontSize: '16px', fontWeight: 'bold' }}>Status Laporan</Typography> <Typography style={{ color: '#656565', fontSize: '16px', fontWeight: 'bold' }}>Status Laporan</Typography>
......
import React, { Component } from 'react'; import React, { Component } from 'react';
import Images from '../assets/Images';
class Login extends Component { class Login extends Component {
render() { render() {
return ( return (
<div> textInComponent </div> <div style={{ flex: 1, display: 'flex'}}>
<div style={{width: '50%', height: '100vh', display: 'flex'}}>
<img src={Images.tia} alt="React Logo" style={{ height: 59, width: 100 }} />
</div>
<div style={{width: '50%', height: '100vh', backgroundColor: '#51c6ea'}}></div>
</div>
); );
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment