If you like Vanilla Calendar Pro, please give it a 🌟 star on GitHub.
Components for Libraries
React Component
If you are not using TypeScript, use the .jsx extension instead of .tsx and remove the CalendarProps interface from the component.
For demonstration purposes, let's consider the simplest React component for Vanilla Calendar Pro. Create a file named VanillaCalendar.tsx and copy the following code into it:
Then, import the created VanillaCalendar component into your React application where you plan to display the calendar.
Use the created component.
The VanillaCalendar component can accept any HTML attributes supported by the <div> tag, as well as the config parameter for configuring the calendar.