Correct Config typo and add Form tickboxes
This commit is contained in:
parent
fcade31893
commit
1db95e425a
14
src/App.js
14
src/App.js
|
@ -1,4 +1,4 @@
|
||||||
import { firebaseConfig } from "./config/Config"
|
import { firebaseConfig } from "./config/Config.js"
|
||||||
import { getApp, initializeApp } from "firebase/app"
|
import { getApp, initializeApp } from "firebase/app"
|
||||||
import { useState, useEffect } from "react"
|
import { useState, useEffect } from "react"
|
||||||
import { getFirestore,
|
import { getFirestore,
|
||||||
|
@ -8,9 +8,10 @@ import { getFirestore,
|
||||||
getDocs } from "firebase/firestore";
|
getDocs } from "firebase/firestore";
|
||||||
import {getStorage} from "firebase/storage"
|
import {getStorage} from "firebase/storage"
|
||||||
import Form from 'react-bootstrap/Form';
|
import Form from 'react-bootstrap/Form';
|
||||||
|
import Button from 'react-bootstrap/Button';
|
||||||
import 'bootstrap/dist/css/bootstrap.min.css';
|
import 'bootstrap/dist/css/bootstrap.min.css';
|
||||||
|
|
||||||
import 'App.css'
|
import './App.css'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -29,11 +30,12 @@ import { getFirestore,
|
||||||
return (
|
return (
|
||||||
<Form>
|
<Form>
|
||||||
<Form.Group>
|
<Form.Group>
|
||||||
|
<Form.Label style={{ fontSize: '30px' }}>Select the words used by ray</Form.Label>
|
||||||
<Form.Check
|
<Form.Check
|
||||||
type="checkbox"
|
type="checkbox"
|
||||||
label="poo"
|
label="poop"
|
||||||
value="poo"
|
value="poop"
|
||||||
checked={selectedOptions.includes('poo')}
|
checked={selectedOptions.includes('poop')}
|
||||||
onChange={handleCheckboxChange}
|
onChange={handleCheckboxChange}
|
||||||
/>
|
/>
|
||||||
<Form.Check
|
<Form.Check
|
||||||
|
@ -62,4 +64,4 @@ import { getFirestore,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
export default App;
|
export default MyForm;
|
||||||
|
|
Loading…
Reference in New Issue