Add DisplayEntries to main app

This commit is contained in:
Ray 2024-01-02 07:41:19 +00:00 committed by GitHub
parent 1a839218e6
commit b629d2088c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

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