Socket
Socket
Sign inDemoInstall

chakra-calender

Package Overview
Dependencies
210
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    chakra-calender

[![Build Status](https://travis-ci.org/joemccann/dillinger.svg?branch=master)](https://travis-ci.org/joemccann/dillinger) ![Tux, the Linux mascot](/assets/image.png)


Version published
Maintainers
1
Created

Readme

Source

Chakra-Calender

Build Status Tux, the Linux mascot

Installation

using npm:
$ npm i chakra-calender
using yarn:
$ yarn add chakra-calender

Example

import { ChakraCalender } from 'Chakra-Calender';

const App=()=>{
       const value={ '2022-5-12': { value: 2, message: 'leave'}}
       const colors=['red','blue','green','pink','orange']
       return(
       <ChakraCalender
        values={value}
        legend={['leave', 'late', 'WFH']}
        colors={colors}
       />
    )}

Props

propsvalue
values{'2022-2-3':{value:number,message:string}
colorsstring [ ]
hasTooltipBoolean
tooltip(date: string, message: string) => React.ReactNode
cellWidthString
cellHeightString
cellSpecingString
gridGapString
paddingString
backgroundColorString
monthsLabelBoolean
monthsLabelFontSizeString
daysLabelBoolean
legendGapString
cellBorderRadiusString
legendstring [ ]
legendLabelGapString
legendLabelBorderRadiusString
yearString
heightString
widthString
marginString

Features

  • will update soon

FAQs

Last updated on 04 Nov 2022

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc