import styles from "./ticketingTheater.module.scss" const TicketingTheater = (props) => { function handleClick(event) { // event.preventDefault() console.log(event.target.name) props.setTicketInfo({ ...props.ticketInfo, theater:event.target.name}) } return (
{props.theaterInfo.theater.length > 0 ? props.theaterInfo.theater.map(name => ( )) :
영화관 정보가 존재하지 않습니다.
}
) } export default TicketingTheater