Skip to content

0101-Digit-All-Solutions/react-calendar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Prop Type default Required Note
taskArray Array Empty Array Optional The Array of tasks to display on calendar
onSelectDate Function NA Required Called when a date is selected
style Style Object Default Style Optional Pass style object if you want to modify the style of root class
headerLabelText String Month Date, Year Optional Pass your own header label when required
headerLabelStyle Style Object NA Optional Control your header label style
headerContainerStyle Style Object NA Optional Control your header container style
dropdownStyle Style Object NA Optional Control the style of month and year dropdown
dotStyle StyleObject NA Optional Control your dot style on the calendar

Screenshot

ScreenShot

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published