diff --git a/src/components/FillingDetails.js b/src/components/FillingDetails.js index 8a6f21d..7e4cef8 100644 --- a/src/components/FillingDetails.js +++ b/src/components/FillingDetails.js @@ -1,15 +1,75 @@ -import React from 'react'; -import {Dropdown, DropdownButton} from 'react-bootstrap'; +import React,{useState} from 'react'; +import Form from 'react-bootstrap'; +import styled from 'styled-components'; +import NavBar from './NavBar'; +const Selector = styled.select` +width: 25%; + +`; +const Container = styled.div` + + padding: 50px; + +`; +const Heading = styled.h1` + + + color: #66bfbf !important; + +`; + + const FillingDetails = () => { - return ( - - asdf - zxcv - qewrty - - ); + const [foodState, setFoodState] = useState(null); + + return ( + + +

+

+ Details +

+

+

+
+ Source:   + { + const selectedFood = e.target.value; + setFoodState(selectedFood); + }} + > + + + + +

+ {foodState} +

+

+

+ Destination:    + { + const selectedFood = e.target.value; + setFoodState(selectedFood); + }} + > + + + + +

+ {foodState} +
+
+ ); } export default FillingDetails; \ No newline at end of file