You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Calendar에서 날짜와 시간을 선택하면 onTimeSelect가 호출되어, 선택된 정보를 ScheduleDetail 컴포넌트에서 selectedScheduleId와 selectedDateTime` 상태로 업데이트함. 이후, 예약하기 버튼을 통해 선택된 정보와 함께 예약 요청을 서버로 전송
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
작업 진행 중이라 내용 수정 예정
라이브러리 : fullcalendar
요구 사항
작업 방식
activityId,schedules,price를 props 로 받음schedules데이터는 아래와 같은 형식으로 전달schedules들을Calendar컴포넌트에 전달하여 schedules 즉 이벤트가 있는 날짜를FullCalendar라이브러리에 적용startTime과endTime이 표시되도록 작업Calendar,.tsxCalendar에서 날짜와 시간을 선택하면onTimeSelect가 호출되어, 선택된 정보를ScheduleDetail컴포넌트에서selectedScheduleId와selectedDateTime` 상태로 업데이트함. 이후, 예약하기 버튼을 통해 선택된 정보와 함께 예약 요청을 서버로 전송공유 사항
Beta Was this translation helpful? Give feedback.
All reactions