mh-calendar-react
v0.1.3
Published
[](https://www.npmjs.com/package/mh-calendar-react) [](https://opensource.org/licenses/MIT) [ {
// Define your configuration object
const calendarConfig = {
viewType: 'WEEK',
editable: true,
events: [
{
id: 'evt-1',
title: 'Team Meeting',
startDate: new Date('2024-10-28T10:00:00'),
endDate: new Date('2024-10-28T11:00:00'),
},
{
id: 'evt-2',
title: 'Project Deadline',
startDate: new Date('2024-10-29T14:30:00'),
endDate: new Date('2024-10-29T15:30:00'),
}
],
};
return (
<div style={{ height: '90vh' }}>
<MhCalendar config={calendarConfig} />
</div>
);
}
export default MyCalendarPage;📚 Full Documentation
For detailed information on all configuration options, please visit our full documentation site.
📄 License
This project is licensed under the MIT License.
