Calendar from HTML on React Code
I know that Metronic doesnt have inbuilt calendar theme in React. How to use the theme from HTML on React code?
Currently my code looks like this.
const CalendarPage = () => {
// Define your docket details or fetch them from an API
return (
<div>
<div className="header">
<Sidebar className="sidebar" />
<Header />
<div className="additional-components">
<SearchBox placeholder="Search" />
<DropdownMenu />
</div>
</div>
<div className="main">
{/* Placeholder for the main content */}
<EventCalendar />
</div>
</div>
);
};
export default CalendarPage; I want to add the calendar theme on EventCalendar Component in react. Can you please help with syntax.
Replies (1)
Hi,
Thank you for reaching out to us.
In our HTML version, we are using Fullcalendar plugin for the calendar app.
You can find code examples and demos in our documentation.
https://preview.keenthemes.com/html/metronic/docs/general/fullcalendar/basic
Fullcalendar has a separate React implementation. To start using Fullcalendar React component right away, check the official guide.
Please let us know if you have any further questions on this topic or anything else.
Regards,
Lauris Stepanovs,
Keenthemes Support Team