New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

calendareact

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

calendareact

A TS calendar component built with MUI and Dayjs

latest
Source
npmnpm
Version
1.3.4
Version published
Weekly downloads
2
-50%
Maintainers
1
Weekly downloads
 
Created
Source

calendaЯReact

Example app

View the example app here

Overview

A simple react+dayjs calendar component with 3 views:

Small

small

Week

week

Month

month

Installation

npm i calendareact

Usage

import React, { useState } from 'react';
import Calendar from 'calendareact';

function App() {
  const [selectedDate, setSelectedDate] = useState<Dayjs>(dayjs())
  return (
    <Calendar
      // events - list of events to display in the calendar
      events={[]}
      colors={colors}
      selectedDate={selectedDate}
      onSelectTime={onSelectTime}
      onSelectDate={(date: dayjs.Dayjs) => setSelectedDate(date)}
      onSelectEvent={onSelectEvent}
      onEditEvent={onEditEvent}
      onDeleteEvent={onDeleteEvent}
      onApproveEvent={onApproveEvent}
      showApprove={showApprove}
      // errors - display errors on day headers
      errors={errors}
      // dayActions - Add buttons to the day headers
      dayActions={dayActions}
    />
  );
}

export default App;

Keywords

react

FAQs

Package last updated on 10 Oct 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts