import React, { useState } from 'react';
import { Link, Redirect } from 'react-router-dom';
import ohuh from './ohuh-sm.PNG';
import Place from './Components/Place';
import halla from './halla.jpg';
import { Container, Row, Card, Image, InputGroup, FormControl, Button, Form } from 'react-bootstrap';
function Search(props) {
const [state, setState] = useState(false);
const [search, setSearch] = useState(props.location.state.id);
const [modalShow, setModalShow] = useState(false);
if (state !== false) {
return ;
}
const handleChange = (e) => { //input창에 이벤트가 발생했을 때 쓰는 함수
setSearch(e.target.value);
}
const handleSubmit = (e) => {
setState(true);
}
return (
);
}
export default Search;