Package depends on react and react-dom
Using NPM
npm install @react-super-calendar/core
Using Yarn
yarn add @react-super-calendar/core
This package uses tailwind css core styling and you need to import the generated css file in the dist folder
If your project doesn't use tailwindcss, some of your base elements will get affected by the tailwind core styles. If that's the case, just ignore the generated css in build folder and you can use your own styling functionality of choice using different classname props12 import { Calendar } from "@react-super-calendar/core";3 import "@react-super-calendar/core/dist/index.css";45 const App = () => {6 const [date, setDate] = useState(new Date());78 return (9 <Calendar10 containerClassName="shadow p-4 rounded w-[300px]"11 value={date}12 onChange={setDate}13 />14 )15 }16