Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions src/components/pages/ParentBooking/BookingCalendar.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import { Calendar } from 'antd';
import React from 'react';

const BookingCalendar = () => {
const onPanelChange = (value, mode) => {
console.log(value.format('YYYY-MM-DD'), mode);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wondering what this function is intended to do? Looks like currently, it is just console logging the date?

};

return (
<div className="site-calendar-demo-card">
<Calendar fullscreen={false} onPanelChange={onPanelChange} />
</div>
);
};

export default BookingCalendar;
Loading