Add DisplayEntries to main app
This commit is contained in:
parent
1a839218e6
commit
b629d2088c
|
@ -17,6 +17,9 @@ import Button from 'react-bootstrap/Button';
|
||||||
import 'bootstrap/dist/css/bootstrap.min.css';
|
import 'bootstrap/dist/css/bootstrap.min.css';
|
||||||
import Col from 'react-bootstrap/Col';
|
import Col from 'react-bootstrap/Col';
|
||||||
|
|
||||||
|
// Import DisplayEntries component which displays existing reviews
|
||||||
|
import DisplayEntries from "./components/DisplayEntries.js";
|
||||||
|
|
||||||
// Import CSS
|
// Import CSS
|
||||||
import './App.css'
|
import './App.css'
|
||||||
|
|
||||||
|
@ -86,6 +89,7 @@ export function MyForm(props) {
|
||||||
// Create form for user to input data
|
// Create form for user to input data
|
||||||
return (
|
return (
|
||||||
<div style={{ backgroundColor: '#84BC9C' }}>
|
<div style={{ backgroundColor: '#84BC9C' }}>
|
||||||
|
<DisplayEntries />
|
||||||
<Form onSubmit={submitHandler}>
|
<Form onSubmit={submitHandler}>
|
||||||
<Form.Group>
|
<Form.Group>
|
||||||
<Form.Label style={{ fontSize: '40px' }}>Ray's Unbased Takes</Form.Label>
|
<Form.Label style={{ fontSize: '40px' }}>Ray's Unbased Takes</Form.Label>
|
||||||
|
|
Loading…
Reference in New Issue