Socket
Socket
Sign inDemoInstall

@0101-labs/react-calendar

Package Overview
Dependencies
8
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@0101-labs/react-calendar


Version published
Maintainers
2
Created

Readme

Source

React Task Calendar

A library of React Task Calendar. It allows to map your task array with the calendar and displays which dates have tasks.

Installation

Run the following command: npm install @0101-labs/react-calendar

Usages

<Calendar taskArray={taskArray} onSelectDate={(selectedDate) => console.log(selectedDate)} />

Properties

PropTypedefaultRequiredNote
taskArrayArrayEmpty ArrayOptionalThe Array of tasks to display on calendar
onSelectDateFunctionNARequiredCalled when a date is selected
styleStyle ObjectDefault StyleOptionalPass style object if you want to modify the style of root class
headerLabelTextStringMonth Date, YearOptionalPass your own header label when required
headerLabelStyleStyle ObjectNAOptionalControl your header label style
headerContainerStyleStyle ObjectNAOptionalControl your header container style
dropdownStyleStyle ObjectNAOptionalControl the style of month and year dropdown
dotStyleStyleObjectNAOptionalControl your dot style on the calendar

Screenshot

ScreenShot

Keywords

FAQs

Last updated on 06 Mar 2024

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc