-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.js
24 lines (23 loc) · 826 Bytes
/
app.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import React, { Component } from 'react';
import './App.css';
class App extends Component{
render(){
return(
<div id="box">
<div className="uplaod_img">
<form style={{marginLeft: 'auto', marginRight: 'auto'}}>
<h5 style={{textAlign: 'center'}}>Enter your Details</h5>
<br />
<div ClassName="form-group">
<label for="exampleFormControlInput1">Upload image here :</label>
<input type="file" className="form-control" id="exampleFormControlInput1" name="profile" accept="image/*" />
<br />
<button type="submit" value="submit" onClick="run()">Submit</button>
</div>
</form>
</div>
</div>
);
}
}
export default App;