From 96735405efdd7d31af04fda017780e726b018979 Mon Sep 17 00:00:00 2001 From: Tyler Lentz Date: Tue, 9 Jan 2024 16:26:59 -0800 Subject: [PATCH] add checkbox to select mannequin & JSDocs --- houston/src/pages/Input.tsx | 52 ++++++++++++++++++++++++++++++------- 1 file changed, 43 insertions(+), 9 deletions(-) diff --git a/houston/src/pages/Input.tsx b/houston/src/pages/Input.tsx index 9786edd3..a0b16a79 100644 --- a/houston/src/pages/Input.tsx +++ b/houston/src/pages/Input.tsx @@ -1,4 +1,4 @@ -import { SetStateAction, useState, useEffect, FormEvent, ChangeEvent } from 'react'; +import { SetStateAction, useState, useEffect, ChangeEvent } from 'react'; import {useMapEvents, Polygon, Polyline} from "react-leaflet" @@ -236,12 +236,19 @@ function MapInputForm( /** * Form that handles all the input for entering bottle loading information * on the plane for the mission + * @param props props + * @param props.bottleAssignments The list of current entered bottle assignments + * @param props.setBottleAssignments State setter for props.bottleAssignments * @returns Bottle Input Form */ function BottleInputForm( {bottleAssignments, setBottleAssignments}: {bottleAssignments: Bottle[], setBottleAssignments: React.Dispatch>} ) { + /** + * @returns Every possible ODLC Color represented as an