Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rc-calendar

Package Overview
Dependencies
Maintainers
3
Versions
239
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-calendar

React Calendar

  • 9.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
53K
decreased by-57.11%
Maintainers
3
Weekly downloads
 
Created

What is rc-calendar?

The rc-calendar package is a React component library for creating and managing calendar functionalities. It provides a variety of features for date selection, date range selection, and custom calendar configurations.

What are rc-calendar's main functionalities?

Basic Date Picker

This feature allows you to render a basic date picker component. Users can select a single date from the calendar.

import React from 'react';
import Calendar from 'rc-calendar';

const BasicDatePicker = () => (
  <Calendar />
);

export default BasicDatePicker;

Date Range Picker

This feature allows you to render a date range picker component. Users can select a range of dates from the calendar.

import React from 'react';
import Calendar from 'rc-calendar';
import RangeCalendar from 'rc-calendar/lib/RangeCalendar';

const DateRangePicker = () => (
  <RangeCalendar />
);

export default DateRangePicker;

Customizable Calendar

This feature allows you to customize the calendar component. For example, you can show week numbers and disable past dates.

import React from 'react';
import Calendar from 'rc-calendar';

const CustomCalendar = () => (
  <Calendar
    showWeekNumber={true}
    disabledDate={(current) => current && current < Date.now()}
  />
);

export default CustomCalendar;

Other packages similar to rc-calendar

Keywords

FAQs

Package last updated on 14 Aug 2017

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc